> The not so nice part is, though, that the Makefile.am looks quite messy. > Very messy in fact: > > > $ cat Makefile.am > > vortrag = vortrag.pdf > vortrag_DATA = vortrag.org data.txt dist-tarball.png > vortragdir = . > > EXTRA_DIST = ${vortrag_DATA} ${vortrag} > MOSTLYCLEANFILES = \\\#* *~ *.bak *.vrb *.bbl *.blg *_flymake.* # > kill editor backups and latex stuff > CLEANFILES = ${vortrag} > DISTCLEANFILES = ${CLEANFILES} \\\#* *~ *.bak *.vrb *.bbl *.blg > *_flymake.* auto/*el > > all : ${vortrag} > > ${vortrag} : ${vortrag_DATA} > if test "$<" != "$(notdir $<)"; then cp -u "$<" "$(notdir $<)"; fi > echo yes | @emacs@ --batch --load "~/.emacs" --visit "$(notdir $<)" > --funcall org-beamer-export-to-pdf > if test "$<" != "$(notdir $<)"; then rm -f "$(notdir $<)"; rm -f > $(basename $(notdir $<)).tex $(basename $(notdir $<)).tex~ > auto/$(basename $(notdir $<)).el; else rm -f $(basename $<).tex > $(basename $<).tex~ auto/$(basename $<).el; fi > > > > Most of this is required to make distcheck happy. > > Is there a way to make this cleaner? > > Best wishes, > Arne > > PS: I documented my usage of autotools on > http://draketo.de/light/english/free-software/makefile-to-autotools > -- >From your link: >I use pyxplot for generating some plots. Pyxplot does not have a way (I know >of) to search for datafiles in a different folder. I have to copy the files to >the build dir and kill them after the build. But only if I use a separate >build dir.
If I understand rightly, you are having a problem with VPATH builds? Is there no way to get your tools (emacs and pyxplot) to read from files in the source directory but output in the current directory?