summaryrefslogtreecommitdiff
path: root/tests/cut
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-12-22 03:30:23 +0000
committerJim Meyering <jim@meyering.net>1996-12-22 03:30:23 +0000
commit3982e9cdf868fdf104581a7eb431185dab0352a9 (patch)
treecd000243cb6fbe8453ccec8bde30ab3aee69dc7a /tests/cut
parenta5b6fae599071084e509e78a6f0b8ef65593589b (diff)
downloadcoreutils-3982e9cdf868fdf104581a7eb431185dab0352a9.tar.xz
.
Diffstat (limited to 'tests/cut')
-rw-r--r--tests/cut/Makefile.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/cut/Makefile.in b/tests/cut/Makefile.in
index 2572aefcd..15fa520c5 100644
--- a/tests/cut/Makefile.in
+++ b/tests/cut/Makefile.in
@@ -43,7 +43,6 @@ GMSGFMT = @GMSGFMT@
CC = @CC@
x = cut
-
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 \
@@ -93,7 +92,7 @@ default: all
.SUFFIXES:
.SUFFIXES: .pl
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL)
- cd $(top_srcdir) && automake --gnits tests/cut-test/Makefile
+ cd $(top_srcdir) && automake --gnu tests/cut-test/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
cd $(top_builddir) \
@@ -201,9 +200,12 @@ $x-tests: @MAINT@mk-script Test.pm
@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
# Tell versions [3.59,3.63) of GNU make to not export all variables.