Hi, I have written a program 'atlc' http://atlc.sourceforge.net/ which get distributed with a lot of .bmp example files. If I run
automake ; autoconf ; configure ; make distclean ; configure ; make distcheck The 'make distcheck' always fails, with the error message: ERROR: distcleancheck can only run from a VPATH build then says: ERROR: files left in build directory after distclean: followed by a list of files. However, those files are in 'EXTRA_DIST' so I would have thought the fact they are distributed, automake would not try to remove them with 'make distcheck' - is that right ?? I'm not 100% sure what a VPATH build is, but I tried running this from a build directory that was not the same as where the source files are, and get the same result. Here is the output. The Makefile.am is listed at the bottom, in case someone can see what the hell I'm doing wrong. automake ; autoconf ; configure ; make distclean ; configure ; make distcheck <snip> rm -f *.o core *.core rm -f *.tab.c rm -rf ./.deps rm -f Makefile rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags make[3]: Leaving directory `/export/home/davek/atlc/atlc-4.2.11-alpha/=build/src/non_gui' Making distclean in . make[3]: Entering directory `/export/home/davek/atlc/atlc-4.2.11-alpha/=build/src' rm -f Makefile rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags make[3]: Leaving directory `/export/home/davek/atlc/atlc-4.2.11-alpha/=build/src' make[2]: Leaving directory `/export/home/davek/atlc/atlc-4.2.11-alpha/=build/src' Making distclean in . make[2]: Entering directory `/export/home/davek/atlc/atlc-4.2.11-alpha/=build' test -z "examplestest-coupler2.bmp.txt" || rm -f examplestest-coupler2.bmp.txt rm -f Makefile test -z "examplestest-coupler2.bmp.txt" || rm -f examplestest-coupler2.bmp.txt rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags make[2]: Leaving directory `/export/home/davek/atlc/atlc-4.2.11-alpha/=build' rm -f config.status config.cache config.log configure.lineno if test '..' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi test `find . -type f -print | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ find . -type f -print ; \ exit 1; } >&2 ERROR: files left in build directory after distclean: ./examples/200-Ohm-201b.E.bmp ./examples/200-Ohm-201b.Er.bmp ./examples/200-Ohm-201b.Ex.bmp ./examples/200-Ohm-201b.Ey.bmp ./examples/200-Ohm-201b.U.bmp ./examples/200-Ohm-201b.V.bmp ./examples/25-Ohm-401h.bmp ./examples/25-Ohm-801h.bmp ./examples/aliased.bmp ./examples/an_odd_er.bmp ./examples/bigger_not_in_centre.bmp ./examples/coax-500-100.bmp ./examples/coax-500-200-Er-100.bmp ./examples/coax-500-200.E.bmp ./examples/coax-500-200.Er.bmp <snip> ./examples/very-odd.bmp ./examples/wide-9pixel.bmp ./examples/README make[1]: *** [distcleancheck] Error 1 make[1]: Leaving directory `/export/home/davek/atlc/atlc-4.2.11-alpha/=build' make: *** [distcheck] Error 2 sparrow /export/home/davek/atlc % # This is Makefile.am, which is processed by automake EXTRA_DIST = \ 13inner_22outer_coax.bmp.txt \ 200-Ohm-201b.E.bmp \ 200-Ohm-201b.Er.bmp \ 200-Ohm-201b.Ex.bmp \ 200-Ohm-201b.Ey.bmp \ 200-Ohm-201b.U.bmp \ 200-Ohm-201b.V.bmp \ 25-Ohm-201b.bm \ 25-Ohm-401h.bmp \ 25-Ohm-801h.bmp \ Makefile \ Makefile.am \ Makefile.in \ README \ aliased.bmp \ aliased.bmp.txt \ an_odd_er.bmp \ an_odd_er.bmp.txt \ bigger_not_in_centre.bmp \ bigger_not_in_centre.bmp.txt \ coax-500-100.bmp \ coax-500-100.bmp.txt \ coax-500-200-Er-100.bmp \ coax-500-200-Er-100.bmp.txt \ coax-500-200.E.bmp \ coax-500-200.Er.bmp \ coax-500-200.Ex.bmp \ coax-500-200.Ey.bmp \ coax-500-200.U.bmp \ coax-500-200.V.bmp \ coax-500-200.bmp \ coax-500-200.bmp.txt \ coax-500-25.bmp \ coax-500-25.bmp.txt \ coax-500-400.bmp \ coax-500-400.bmp.txt \ coax-500-50.bmp \ coax-500-50.bmp.txt \ coax2.bmp \ coax2.bmp.txt \ coaxtest.bmp \ coaxtest.bmp.txt \ coaxtest2.bmp \ coaxtest2.bmp.txt \ coupler.bmp \ coupler.bmp.txt \ coupler8.bmp.txt \ create_for_Makefile.am \ cvsignore \ eccentric-e.E.bmp \ eccentric-e.Er.bmp \ eccentric-e.Ex.bmp \ eccentric-e.Ey.bmp \ eccentric-e.U.bmp \ eccentric-e.V.bmp \ enclosed-microstrip.bmp \ enclosed-microstrip.bmp.txt \ ex2.bmp \ ex2.bmp.txt \ ground-negative-short.bmp \ ground-negative-short.bmp.txt \ microstrip_coupler.bmp \ mix.bmp \ mix.bmp.txt \ multi-dielectric.bmp \ multi-dielectric.bmp.txt \ not-aliased.bmp \ not-aliased.bmp.txt \ not_in_centre.bmp \ not_in_centre.bmp.txt \ odd-coupler.bmp \ odd-coupler.bmp.txt \ off-centre-coax.bmp \ off-centre-coax.bmp.txt \ offset.bmp \ offset.bmp.txt \ pcb-coupler.bmp \ pcb-coupler.bmp.txt \ pcb.bmp \ pcb.bmp.txt \ positive-ground-short.bmp \ positive-ground-short.bmp.txt \ positive-negative-short.bmp \ positive-negative-short.bmp.txt \ test-coupler1.bmp \ test-coupler1.bmp.txt \ test-coupler2.bmp \ test.bmp \ test.bmp.txt \ test3.bmp \ test3.bmp.txt \ test4.bmp \ test4.bmp.txt \ test5.bmp \ test6.bmp \ test6.bmp.txt \ test7.bmp \ test7.bmp.txt \ twin-wire.bmp \ twin-wire.bmp.txt \ twin-wire2.bmp \ twin-wire2.bmp.txt \ twin-wire3.bmp \ twin-wire3.bmp.txt \ twin-wire4.bmp \ twin-wire4.bmp.txt \ ushape.bmp \ ushape.bmp.txt \ very-odd.bmp \ very-odd.bmp.txt \ wide-9pixel.bmp \ wide-9pixel.bmp.txt CLEANFILES = DISTCLEANFILES = eccentric-a.bmp \ 13inner_22outer_coax.bmp \ test_sym_strip.bmp \ test_sym_strip.Ex.bin \ test_sym_strip.Ey.bin \ test_sym_strip.E.bin \ test_sym_strip.V.bin \ test_sym_strip.U.bin \ test_sym_strip.Er.bin \ test_sym_strip.Ex.bmp \ test_sym_strip.Ey.bmp \ test_sym_strip.E.bmp \ test_sym_strip.V.bmp \ test_sym_strip.U.bmp \ test_sym_strip.Er.bmp \ test_rect_in_rect.bmp \ test_rect_in_rect.txt \ test_rect_in_rect.Ex.bin \ test_rect_in_rect.Ey.bin \ test_rect_in_rect.E.bin \ test_rect_in_rect.V.bin \ test_rect_in_rect.U.bin \ test_rect_in_rect.Er.bin \ test_rect_in_rect.Ex.bmp \ test_rect_in_rect.Ey.bmp \ test_rect_in_rect.E.bmp \ test_rect_in_rect.V.bmp \ test_rect_in_rect.U.bmp \ test_rect_in_rect.Er.bmp \ coax2.V.bmp \ 25ohm-201h.Ex.bmp \ 25ohm-201h.Ey.bmp \ 25ohm-201h.E.bmp \ 25ohm-201h.V.bmp \ 25ohm-201h.U.bmp \ 25ohm-201h.Er.bmp \ 50ohm-201h.Ex.bmp \ 50ohm-201h.Ey.bmp \ 50ohm-201h.E.bmp \ 50ohm-201h.V.bmp \ 50ohm-201h.U.bmp \ 50ohm-201h.Er.bmp \ eccentric-b.bmp \ eccentric-c.bmp \ eccentric-d.bmp \ eccentric-e.bmp \ eccentric-f.bmp \ eccentric-g.bmp \ eccentric-h.bmp \ eccentric-i.bmp \ eccentric-j.bmp \ eccentric-k.bmp \ eccentric-l.bmp \ eccentric-m.bmp \ eccentric-n.bmp \ 25-Ohm-201b.bmp \ 25-Ohm-401b.bmp \ 50-Ohm-201b.bmp \ 50-Ohm-401b.bmp \ 100-Ohm-201b.bmp \ 100-Ohm-401b.bmp \ 200-Ohm-201b.bmp \ 200-Ohm-401b.bmp \ 200-Ohm-801b.bmp \ coupler1.bmp \ coupler2.bmp \ coupler3.bmp \ coupler4.bmp \ coupler5.bmp \ coupler6.bmp \ coupler7.bmp \ coupler8.bmp \ test-coupler1.E.even.bin \ test-coupler1.E.even.bmp \ test-coupler1.E.odd.bin \ test-coupler1.E.odd.bmp \ test-coupler1.Er.bin \ test-coupler1.Er.bmp \ test-coupler1.Ex.even.bin \ test-coupler1.Ex.even.bmp \ test-coupler1.Ex.odd.bin \ test-coupler1.Ex.odd.bmp \ test-coupler1.Ey.even.bin \ test-coupler1.Ey.even.bmp \ test-coupler1.Ey.odd.bin \ test-coupler1.Ey.odd.bmp \ test-coupler1.U.even.bin \ test-coupler1.U.even.bmp \ test-coupler1.U.odd.bin \ test-coupler1.U.odd.bmp \ test-coupler1.V.even.bin \ test-coupler1.V.even.bmp \ test-coupler1.V.odd.bin \ test-coupler1.V.odd.bmp \ coax2.E.bin \ coax2.Er.bin \ coax2.Ex.bin \ coax2.Ey.bin \ coax2.U.bin \ coax2.V.bin \ pcb.E.bin \ pcb.Er.bin \ pcb.Ex.bin \ pcb.Ey.bin \ pcb.U.bin \ pcb.V.bin \ twin-wire.E.bin \ twin-wire.Er.bin \ twin-wire.Ex.bin \ twin-wire.Ey.bin \ twin-wire.U.bin \ twin-wire.V.bin \ twin-wire.E.bmp \ twin-wire.Er.bmp \ twin-wire.Ex.bmp \ twin-wire.Ey.bmp \ twin-wire.U.bmp \ twin-wire.V.bmp \ ushape.E.bin \ ushape.Er.bin \ ushape.Ex.bin \ ushape.Ey.bin \ ushape.U.bin \ ushape.V.bin \ coax2.Er.bmp \ coax2.Ex.bmp \ coax2.Ey.bmp \ coax2.U.bmp \ coax2.E.bmp \ coax2.E.bmp \ pcb.Er.bmp \ pcb.Ex.bmp \ pcb.Ey.bmp \ pcb.U.bmp \ pcb.V.bmp \ pcb-coupler.E.even.bin \ pcb-coupler.E.odd.bin \ pcb-coupler.Er.bin \ pcb-coupler.Ex.even.bin \ pcb-coupler.Ex.odd.bin \ pcb-coupler.Ey.even.bin \ pcb-coupler.Ey.odd.bin \ pcb-coupler.U.even.bin \ pcb-coupler.U.odd.bin \ pcb-coupler.V.even.bin \ pcb-coupler.V.odd.bin \ pcb-coupler.E.odd.bin \ pcb-coupler.E.odd.bmp \ pcb-coupler.Ex.odd.bin \ pcb-coupler.Ex.odd.bmp \ pcb-coupler.Ey.odd.bin \ pcb-coupler.Ey.odd.bmp \ pcb-coupler.U.odd.bin \ pcb-coupler.U.odd.bmp \ pcb-coupler.V.odd.bin \ pcb-coupler.V.odd.bmp \ pcb-coupler.E.even.bmp \ pcb-coupler.Ex.even.bmp \ pcb-coupler.Ey.even.bmp \ pcb-coupler.U.even.bmp \ pcb-coupler.V.even.bmp \ pcb-coupler.Er.bmp \ test_stripline_coupler.Ex.odd.bmp \ test_stripline_coupler.Ey.odd.bmp \ test_stripline_coupler.E.odd.bmp \ test_stripline_coupler.V.odd.bmp \ test_stripline_coupler.U.odd.bmp \ test_stripline_coupler.Ex.even.bmp \ test_stripline_coupler.Ey.even.bmp \ test_stripline_coupler.E.even.bmp \ test_stripline_coupler.V.even.bmp \ test_stripline_coupler.U.even.bmp \ test_stripline_coupler.Er.bmp \ 25ohm-201h.E.bin \ 25ohm-201h.Er.bin \ 25ohm-201h.Ex.bin \ 25ohm-201h.Ey.bin \ 25ohm-201h.U.bin \ 25ohm-201h.V.bin \ 50ohm-201h.E.bin \ 50ohm-201h.Er.bin \ 50ohm-201h.Ex.bin \ 50ohm-201h.Ey.bin \ 50ohm-201h.U.bin \ 50ohm-201h.V.bin \ test-coupler2.E.even.bin \ test-coupler2.E.odd.bin \ test-coupler2.Er.bin \ test-coupler2.Ex.even.bin \ test-coupler2.Ex.odd.bin \ test-coupler2.Ey.even.bin \ test-coupler2.Ey.odd.bin \ test-coupler2.U.even.bin \ test-coupler2.U.odd.bin \ test-coupler2.V.even.bin \ test-coupler2.V.odd.bin \ test_stripline_coupler.E.even.bin \ test_stripline_coupler.E.odd.bin \ test_stripline_coupler.Er.bin \ test_stripline_coupler.Ex.even.bin \ test_stripline_coupler.Ex.odd.bin \ test_stripline_coupler.Ey.even.bin \ test_stripline_coupler.Ey.odd.bin \ test_stripline_coupler.U.even.bin \ test_stripline_coupler.U.odd.bin \ test_stripline_coupler.V.even.bin \ test_stripline_coupler.V.odd.bin \ test-coupler2.Ex.odd.bmp \ test-coupler2.Ey.odd.bmp \ test-coupler2.E.odd.bmp \ test-coupler2.V.odd.bmp \ test-coupler2.U.odd.bmp \ test-coupler2.Ex.even.bmp \ test-coupler2.Ey.even.bmp \ test-coupler2.E.even.bmp \ test-coupler2.V.even.bmp \ test-coupler2.U.even.bmp \ test-coupler2.Er.bmp \ 25ohm-201h.bmp \ 25ohm-401h.bmp \ 25ohm-801h.bmp \ 50ohm-201h.bmp \ 50ohm-401h.bmp \ 50ohm-801h.bmp \ 100ohm-201h.bmp \ 100ohm-401h.bmp \ 100ohm-801h.bmp \ 200ohm-201h.bmp \ 200ohm-401h.bmp \ 200ohm-801h.bmp \ 400ohm-1551h.bmp \ test_stripline_coupler.bmp \ central.bmp \ off-centre2.bmp \ cir.bmp \ test-coupler2.bmp.txt \ test_stripline_coupler.bmp.pre-atlc.txt -- Dr. David Kirkby, Senior Research Fellow, Department of Medical Physics, University College London, 11-20 Capper St, London, WC1E 6JA. Tel: 020 7679 6408 Fax: 020 7679 6269 Internal telephone: ext 46408 e-mail [EMAIL PROTECTED]