diff options
author | Jim Meyering <jim@meyering.net> | 1998-02-04 18:01:23 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-02-04 18:01:23 +0000 |
commit | 29772527c8588c557fabc4e6d118b55670d95237 (patch) | |
tree | 233bc6af51314ee4bda16b719ae0c42ff78ce5a6 /tests/cut | |
parent | 4e7206113079ee0896ab6da08f7214556dc7962e (diff) | |
download | coreutils-29772527c8588c557fabc4e6d118b55670d95237.tar.xz |
.
Diffstat (limited to 'tests/cut')
-rw-r--r-- | tests/cut/Makefile.in | 36 |
1 files changed, 13 insertions, 23 deletions
diff --git a/tests/cut/Makefile.in b/tests/cut/Makefile.in index bbfbcd2a8..e3780febe 100644 --- a/tests/cut/Makefile.in +++ b/tests/cut/Makefile.in @@ -100,7 +100,7 @@ s.E t.O t.E u.O u.E v.O v.E w.O w.E x.O x.E y.O y.E z.O z.E empty-fl.O \ empty-fl.E missing-fl.O missing-fl.E empty-bl.O empty-bl.E missing-bl.O \ missing-bl.E empty-f1.O empty-f1.E empty-f2.O empty-f2.E -EXTRA_DIST = mk-script.pl Test.pm $x-tests $(explicit) $(maint_gen) +EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen) noinst_SCRIPTS = $x-tests PERL = @PERL@ @@ -108,7 +108,7 @@ editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,@srcdir@,g' TESTS = $x-tests -SUFFIXES = .pl +mk_script = $(srcdir)/../mk-script MAINTAINERCLEANFILES = $x-tests $(maint_gen) CLEANFILES = $(run_gen) @@ -127,8 +127,7 @@ GZIP = --best default: all .SUFFIXES: -.SUFFIXES: .pl -$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/cut/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) @@ -233,28 +232,19 @@ install-exec install-data install uninstall all installdirs \ mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean - -$(srcdir)/$x-tests: @MAINT@mk-script Test.pm - ./mk-script ../../src/$x > $@.n +$(srcdir)/$x-tests: $(mk_script) Test.pm + $(PERL) -w -- $(mk_script) ../../src/$x > $@.n mv $@.n $@ chmod 755 $@ -mk-script: ../../config.status - -.pl: - rm -f $@ $@.tmp - $(editpl) $< > $@.tmp - chmod +x-w $@.tmp - mv $@.tmp $@ - -@MAINT@Makefile.am: ../Makefile.am.in Test.pm mk-script -@MAINT@ rm -f $@ $@t -@MAINT@ sed -n '1,/^##test-files-begin/p' $< > $@t -@MAINT@ tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \ -@MAINT@ echo "x = $$tool" >> $@t -@MAINT@ ./mk-script --list >> $@t -@MAINT@ sed -n '/^##test-files-end/,$$p' $< >> $@t -@MAINT@ mv $@t $@ +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) $(mk_script) --list >> $@t + sed -n '/^##test-files-end/,$$p' $< >> $@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. |