summaryrefslogtreecommitdiff
path: root/tests/tr/Makefile.am
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-12-22 03:24:25 +0000
committerJim Meyering <jim@meyering.net>1996-12-22 03:24:25 +0000
commitb660d78cf53f1dde2a25865a6f5318543ea99d04 (patch)
tree9c5a901af6c59b359a2326e07ab088b815487829 /tests/tr/Makefile.am
parentc86883a62afd26dd682c2408333350d7da6f0820 (diff)
downloadcoreutils-b660d78cf53f1dde2a25865a6f5318543ea99d04.tar.xz
.
Diffstat (limited to 'tests/tr/Makefile.am')
-rw-r--r--tests/tr/Makefile.am10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/tr/Makefile.am b/tests/tr/Makefile.am
index 3156eff7f..478187cd8 100644
--- a/tests/tr/Makefile.am
+++ b/tests/tr/Makefile.am
@@ -1,8 +1,7 @@
## Process this file with automake to produce Makefile.in.
-x = tr
-
##test-files-begin
+x = tr
explicit =
maint_gen = t1.in t1.exp t2.in t2.exp t3.in t3.exp t4.in t4.exp t5.in t5.exp \
t6.in t6.exp t7.in t7.exp t8.in t8.exp t9.in t9.exp ta.in ta.exp tb.in tb.exp \
@@ -53,7 +52,10 @@ CLEANFILES = $(run_gen)
@MAINT@rebuild-check: Test.pm mk-script
@MAINT@ rb=rb-check; rm -f $rb; \
-@MAINT@ sed -n '1,/^##test-files-begin/p' Makefile.am > $$rb; \
+@MAINT@ m_template=../Makefile.am.in; \
+@MAINT@ sed -n '1,/^##test-files-begin/p' $$m_template > $$rb; \
+@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' Makefile.am >> $$rb; \
+@MAINT@ sed -n '/^##test-files-end/,$$p' $$m_template >> $$rb; \
@MAINT@ diff -u Makefile.am $$rb && echo ok || echo no