On Wed, 17 Oct 2007, Bob Friesenhahn wrote: > On Thu, 18 Oct 2007, Ralf Wildenhues wrote: > > > > > The VPATH build is quite useful for libtool, particularly given that > > > 'make clean' and 'make distclean' do not work unless the testsuite has > > > been successfully run. > > > > Could you elaborate on that? How can I reproduce non-working 'make > > clean'? > > I am not sure if the problem still exists. For a number of years it was not > possible since the Makefiles in the test subdirectories were broken or did not > exist. Or perhaps the problem was lmited to 'make distclean'.
'make distclean' has had problems with VPATH builds because of a deficency in automake (at least 1.9.6). If you ran 'make distclean' before running the test suite some directories would be missing causing an error. This patch fixes it. ... --- automake-1.9.6/lib/am/subdirs.am.old 2005-05-14 13:21:06.000000000 -0700 +++ automake-1.9.6/lib/am/subdirs.am 2005-10-27 21:04:01.460314004 -0700 @@ -93,7 +93,7 @@ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ + test -d "$$subdir" && rev="$$subdir $$rev"; \ fi; \ done; \ ## Always do `.' last. ... I bug reported it in Oct 2005 so it may be fixed by now. -- Tim Rice Multitalents (707) 887-1469 [EMAIL PROTECTED]