From fc2743e206a9b056f6f306e8e1365f8a03afa2bf Mon Sep 17 00:00:00 2001 From: Miloslav Trmac Date: Sun, 29 Jun 2003 15:35:06 +0000 Subject: 2003-06-29 Miloslav Trmac * doc/Makefile.am: * tools/Makefile.am: Don't assume srcdir == builddir. --- test/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/Makefile.am b/test/Makefile.am index 227f0dba..04df3510 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -70,10 +70,10 @@ dist-hook: for D in $(TESTDIRS); do \ test -d $(distdir)/$$D || mkdir $(distdir)/$$D || exit 1 ; \ done ; \ - FILES=`$(FIND_TESTS) -o -name "*.in"` ; \ + FILES=`(cd $(srcdir) && $(FIND_TESTS) -o -name "*.in" -a -not -name Makefile.in)` ; \ for F in $$FILES; do \ echo '-- Disting file '$$F ; \ - cp $$F $(distdir)/$$F || exit 1 ; \ + cp $(srcdir)/$$F $(distdir)/$$F || exit 1 ; \ done ## copy tests to builddir so that generated tests and static tests -- cgit