summaryrefslogtreecommitdiff
path: root/tests/join
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-07-04 14:43:06 +0000
committerJim Meyering <jim@meyering.net>1997-07-04 14:43:06 +0000
commit19d151cbbd625faea3628f00b835c848f2fc953d (patch)
treebafa31db86003ef86205ce41d35d68daa664850a /tests/join
parentd61ab3fc243ceaba243336c7f106257d526b08ca (diff)
downloadcoreutils-19d151cbbd625faea3628f00b835c848f2fc953d.tar.xz
regenerate with updated ../Makefile.am.in
Diffstat (limited to 'tests/join')
-rw-r--r--tests/join/Makefile.am19
1 files changed, 10 insertions, 9 deletions
diff --git a/tests/join/Makefile.am b/tests/join/Makefile.am
index 809a49896..c6a6ad6ac 100644
--- a/tests/join/Makefile.am
+++ b/tests/join/Makefile.am
@@ -27,11 +27,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:
@@ -43,12 +45,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 $@