diff options
author | Jim Meyering <jim@meyering.net> | 1997-07-04 14:43:06 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-07-04 14:43:06 +0000 |
commit | 19d151cbbd625faea3628f00b835c848f2fc953d (patch) | |
tree | bafa31db86003ef86205ce41d35d68daa664850a /tests/sort | |
parent | d61ab3fc243ceaba243336c7f106257d526b08ca (diff) | |
download | coreutils-19d151cbbd625faea3628f00b835c848f2fc953d.tar.xz |
regenerate with updated ../Makefile.am.in
Diffstat (limited to 'tests/sort')
-rw-r--r-- | tests/sort/Makefile.am | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/tests/sort/Makefile.am b/tests/sort/Makefile.am index 829122b80..79d69740a 100644 --- a/tests/sort/Makefile.am +++ b/tests/sort/Makefile.am @@ -39,11 +39,13 @@ editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,@srcdir@,g' TESTS = $x-tests -$x-tests: @MAINT@mk-script Test.pm +$(srcdir)/$x-tests: @MAINT@mk-script Test.pm ./mk-script ../../src/$x > $@.n mv $@.n $@ chmod 755 $@ +mk-script: ../../config.status + SUFFIXES = .pl .pl: @@ -55,12 +57,11 @@ SUFFIXES = .pl MAINTAINERCLEANFILES = $x-tests $(maint_gen) CLEANFILES = $(run_gen) -@MAINT@rebuild-check: Test.pm mk-script -@MAINT@ rb=rb-check; rm -f $rb; \ -@MAINT@ m_template=../Makefile.am.in; \ -@MAINT@ sed -n '1,/^##test-files-begin/p' $$m_template > $$rb; \ +@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" >> $$rb; \ -@MAINT@ ./mk-script --list >> $$rb; \ -@MAINT@ sed -n '/^##test-files-end/,$$p' $$m_template >> $$rb; \ -@MAINT@ diff -u Makefile.am $$rb && echo ok || echo no +@MAINT@ echo "x = $$tool" >> $@t +@MAINT@ ./mk-script --list >> $@t +@MAINT@ sed -n '/^##test-files-end/,$$p' $< >> $@t +@MAINT@ mv $@t $@ |