diff options
Diffstat (limited to 'tests/wc')
-rw-r--r-- | tests/wc/Makefile.am | 4 | ||||
-rw-r--r-- | tests/wc/Makefile.in | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/wc/Makefile.am b/tests/wc/Makefile.am index 4f660c742..5a94c4a8e 100644 --- a/tests/wc/Makefile.am +++ b/tests/wc/Makefile.am @@ -31,9 +31,9 @@ check: $(maint_gen) $(srcdir)/Makefile.am: ../Makefile.am.in Test.pm $(mk_script) rm -f $@ $@t - sed -n '1,/^##test-files-begin/p' $< > $@t + sed -n '1,/^##test-files-begin/p' $(srcdir)/../Makefile.am.in > $@t tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \ echo "x = $$tool" >> $@t $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> $@t - sed -n '/^##test-files-end/,$$p' $< >> $@t + sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> $@t mv $@t $@ diff --git a/tests/wc/Makefile.in b/tests/wc/Makefile.in index d004ed13e..7e4ba4991 100644 --- a/tests/wc/Makefile.in +++ b/tests/wc/Makefile.in @@ -511,11 +511,11 @@ check: $(maint_gen) $(srcdir)/Makefile.am: ../Makefile.am.in Test.pm $(mk_script) rm -f $@ $@t - sed -n '1,/^##test-files-begin/p' $< > $@t + sed -n '1,/^##test-files-begin/p' $(srcdir)/../Makefile.am.in > $@t tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \ echo "x = $$tool" >> $@t $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> $@t - sed -n '/^##test-files-end/,$$p' $< >> $@t + sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> $@t mv $@t $@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. |