From 19d151cbbd625faea3628f00b835c848f2fc953d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 4 Jul 1997 14:43:06 +0000 Subject: regenerate with updated ../Makefile.am.in --- tests/tr/Makefile.am | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'tests/tr') diff --git a/tests/tr/Makefile.am b/tests/tr/Makefile.am index d083f5fb6..0d7d0f353 100644 --- a/tests/tr/Makefile.am +++ b/tests/tr/Makefile.am @@ -31,11 +31,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: @@ -47,12 +49,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 $@ -- cgit v1.2.3-70-g09d2