mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2025-09-10 07:59:52 +02:00
.
This commit is contained in:
@@ -33,7 +33,7 @@ TESTS = $x-tests
|
||||
|
||||
mk_script = $(srcdir)/../mk-script
|
||||
$(srcdir)/$x-tests: $(mk_script) Test.pm
|
||||
$(PERL) -w -- $(mk_script) ../../src/$x > $@.n
|
||||
$(PERL) -I. -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) -w -- $(mk_script) --list >> $@t
|
||||
$(PERL) -I. -w -- $(mk_script) --list >> $@t
|
||||
sed -n '/^##test-files-end/,$$p' $< >> $@t
|
||||
mv $@t $@
|
||||
|
||||
@@ -251,7 +251,7 @@ distclean-generic clean-generic maintainer-clean-generic clean \
|
||||
mostlyclean distclean maintainer-clean
|
||||
|
||||
$(srcdir)/$x-tests: $(mk_script) Test.pm
|
||||
$(PERL) -w -- $(mk_script) ../../src/$x > $@.n
|
||||
$(PERL) -I. -w -- $(mk_script) ../../src/$x > $@.n
|
||||
mv $@.n $@
|
||||
chmod 755 $@
|
||||
|
||||
@@ -260,7 +260,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) -w -- $(mk_script) --list >> $@t
|
||||
$(PERL) -I. -w -- $(mk_script) --list >> $@t
|
||||
sed -n '/^##test-files-end/,$$p' $< >> $@t
|
||||
mv $@t $@
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ TESTS = $x-tests
|
||||
|
||||
mk_script = $(srcdir)/../mk-script
|
||||
$(srcdir)/$x-tests: $(mk_script) Test.pm
|
||||
$(PERL) -w -- $(mk_script) ../../src/$x > $@.n
|
||||
$(PERL) -I. -w -- $(mk_script) ../../src/$x > $@.n
|
||||
mv $@.n $@
|
||||
chmod 755 $@
|
||||
|
||||
@@ -33,6 +33,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) -w -- $(mk_script) --list >> $@t
|
||||
$(PERL) -I. -w -- $(mk_script) --list >> $@t
|
||||
sed -n '/^##test-files-end/,$$p' $< >> $@t
|
||||
mv $@t $@
|
||||
|
||||
@@ -239,7 +239,7 @@ distclean-generic clean-generic maintainer-clean-generic clean \
|
||||
mostlyclean distclean maintainer-clean
|
||||
|
||||
$(srcdir)/$x-tests: $(mk_script) Test.pm
|
||||
$(PERL) -w -- $(mk_script) ../../src/$x > $@.n
|
||||
$(PERL) -I. -w -- $(mk_script) ../../src/$x > $@.n
|
||||
mv $@.n $@
|
||||
chmod 755 $@
|
||||
|
||||
@@ -248,7 +248,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) -w -- $(mk_script) --list >> $@t
|
||||
$(PERL) -I. -w -- $(mk_script) --list >> $@t
|
||||
sed -n '/^##test-files-end/,$$p' $< >> $@t
|
||||
mv $@t $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user