diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2007-03-04 18:53:29 +0000 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2007-03-04 18:53:29 +0000 |
commit | 4d568118513d1475fa2e780e0c0ed8d48cace9f6 (patch) | |
tree | 3acd7943073d7008cfdb1e252b43338931b1441e /test | |
parent | 70bfc74e54ac8a9a93885710cd8350d1a58b3406 (diff) |
* test/Makefile.am: fixed test data copy problem in
out of source build, when sources came from svn or cvs.
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Makefile.am b/test/Makefile.am index 1416f82a..ddb489d3 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -104,7 +104,7 @@ dist-hook: for D in $(TESTDIRS); do \ test -d $(distdir)/$$D || mkdir $(distdir)/$$D || exit 1 ; \ done ; \ - FILES=`(cd $(srcdir) && $(FIND_TESTS) -o -name "*.in" -a -not -name Makefile.in)` ; \ + FILES=`(cd $(srcdir) && $(FIND_TESTS) -o -name "*.in" -a -not -name Makefile.in | grep -Ev "(.svn|CVS)" )` ; \ for F in $$FILES; do \ echo '-- Disting file '$$F ; \ cp -f $(srcdir)/$$F $(distdir)/$$F || exit 1 ; \ @@ -117,7 +117,7 @@ all-local: test -d $(top_builddir)/test/$$D || mkdir $(top_builddir)/test/$$D || exit 1 ; \ done ; \ if ! (test $(srcdir) = . || test $(srcdir) -ef .) ; then \ - FILES=`(cd $(srcdir) && $(FIND_TESTS))` ; \ + FILES=`(cd $(srcdir) && $(FIND_TESTS) | grep -Ev "(.svn|CVS)" )` ; \ for F in $$FILES; do \ SRC=$(srcdir)/$$F ; \ DEST=$(top_builddir)/test/$$F ; \ @@ -135,7 +135,7 @@ all-local: ## this doesn't clean generated test data files when srcdir=builddir clean-local: if test $(srcdir) != . ; then \ - FILES=`(cd $(top_builddir)/test && $(FIND_TESTS))` ; \ + FILES=`(cd $(top_builddir)/test && $(FIND_TESTS) | grep -Ev "(.svn|CVS)" )` ; \ for F in $$FILES; do \ DEST=$(top_builddir)/test/$$F ; \ echo '-- Deleting test file '$$F ; \ |