1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-20 18:56:39 +02:00
This commit is contained in:
Jim Meyering
2000-08-03 08:00:00 +00:00
parent 1d80882fc0
commit c60c4a9fdc
20 changed files with 40 additions and 40 deletions

View File

@@ -31,7 +31,7 @@ TESTS = $x-tests
mk_script = $(srcdir)/../mk-script
$(srcdir)/$x-tests: $(mk_script) Test.pm
$(PERL) -I. -w -- $(mk_script) ../../src/$x > $@.n
$(PERL) -I$(srcdir) -w -- $(mk_script) ../../src/$x > $@.n
mv $@.n $@
chmod 755 $@
@@ -45,6 +45,6 @@ Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
sed -n '1,/^##test-files-begin/p' $< > $@t
tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
echo "x = $$tool" >> $@t
$(PERL) -I. -w -- $(mk_script) --list >> $@t
$(PERL) -I$(srcdir) -w -- $(mk_script) --list >> $@t
sed -n '/^##test-files-end/,$$p' $< >> $@t
mv $@t $@

View File

@@ -304,7 +304,7 @@ distclean-generic clean-generic maintainer-clean-generic clean \
mostlyclean distclean maintainer-clean
$(srcdir)/$x-tests: $(mk_script) Test.pm
$(PERL) -I. -w -- $(mk_script) ../../src/$x > $@.n
$(PERL) -I$(srcdir) -w -- $(mk_script) ../../src/$x > $@.n
mv $@.n $@
chmod 755 $@
@@ -315,7 +315,7 @@ Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
sed -n '1,/^##test-files-begin/p' $< > $@t
tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
echo "x = $$tool" >> $@t
$(PERL) -I. -w -- $(mk_script) --list >> $@t
$(PERL) -I$(srcdir) -w -- $(mk_script) --list >> $@t
sed -n '/^##test-files-end/,$$p' $< >> $@t
mv $@t $@