summaryrefslogtreecommitdiff
path: root/tests/wc/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wc/Makefile.am')
-rw-r--r--tests/wc/Makefile.am4
1 files changed, 2 insertions, 2 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 $@