summaryrefslogtreecommitdiff
path: root/tests/wc
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-10-18 06:41:17 +0000
committerJim Meyering <jim@meyering.net>2003-10-18 06:41:17 +0000
commit09a773522033161b63c4ae316bd84da82ffb6407 (patch)
tree7d12c7444663859d69d61fc675b6b31188b59e9f /tests/wc
parent9b9034eb18ec35b78cf189b087e50afd54ee3d08 (diff)
downloadcoreutils-09a773522033161b63c4ae316bd84da82ffb6407.tar.xz
regenerate
Diffstat (limited to 'tests/wc')
-rw-r--r--tests/wc/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/wc/Makefile.am b/tests/wc/Makefile.am
index 07a288100..4f660c742 100644
--- a/tests/wc/Makefile.am
+++ b/tests/wc/Makefile.am
@@ -20,7 +20,7 @@ TESTS = $x-tests
mk_script = $(srcdir)/../mk-script
$(srcdir)/$x-tests: $(mk_script) Test.pm
- $(PERL) -I$(srcdir) -w -- $(mk_script) ../../src/$x > $@.n
+ $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) ../../src/$x > $@.n
mv $@.n $@
chmod 755 $@
@@ -29,11 +29,11 @@ CLEANFILES = $(run_gen)
check: $(maint_gen)
-Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
+$(srcdir)/Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
rm -f $@ $@t
sed -n '1,/^##test-files-begin/p' $< > $@t
tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
echo "x = $$tool" >> $@t
- $(PERL) -I$(srcdir) -w -- $(mk_script) --list >> $@t
+ $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> $@t
sed -n '/^##test-files-end/,$$p' $< >> $@t
mv $@t $@