summaryrefslogtreecommitdiff
path: root/tests/cut/Makefile.in
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-12-22 02:44:12 +0000
committerJim Meyering <jim@meyering.net>1996-12-22 02:44:12 +0000
commit4376f9f2ce4721a106879d35c4d0cda589d45b33 (patch)
tree56da54e5d9190020fc35fe33665a591ab70200de /tests/cut/Makefile.in
parent37fea371b79a3ea06ca74939cf7553e73cb7aebe (diff)
downloadcoreutils-4376f9f2ce4721a106879d35c4d0cda589d45b33.tar.xz
.
Diffstat (limited to 'tests/cut/Makefile.in')
-rw-r--r--tests/cut/Makefile.in41
1 files changed, 30 insertions, 11 deletions
diff --git a/tests/cut/Makefile.in b/tests/cut/Makefile.in
index 6d45943d9..2572aefcd 100644
--- a/tests/cut/Makefile.in
+++ b/tests/cut/Makefile.in
@@ -43,15 +43,25 @@ GMSGFMT = @GMSGFMT@
CC = @CC@
x = cut
-t = t1 t2 t3 t4 t5 t6 t7 t8 t9 tA tB tC tD ta tb tc td te tf tg th \
-ti tj tk tl tm tn to tp tq tr ts tt tu tv tw tx ty tz
-in = $(t:=.in)
-exp = $(t:=.exp)
-out = $(t:=.out)
-err = $(t:=.err)
-
-EXTRA_DIST = mk-script.pl Test.pm $x-tests $(in) $(exp)
+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 \
+tc.in tc.exp td.in td.exp te.in te.exp tf.in tf.exp tg.in tg.exp th.in th.exp \
+ti.in ti.exp tj.in tj.exp tk.in tk.exp tl.in tl.exp tm.in tm.exp tn.in tn.exp \
+to.in to.exp tp.in tp.exp tq.in tq.exp tr.in tr.exp ts.in ts.exp tt.in tt.exp \
+tu.in tu.exp tv.in tv.exp tw.in tw.exp tx.in tx.exp ty.in ty.exp tz.in tz.exp \
+tA.in tA.exp tB.in tB.exp tC.in tC.exp tD.in tD.exp
+run_gen = t1.out t1.err t2.out t2.err t3.out t3.err t4.out t4.err t5.out \
+t5.err t6.out t6.err t7.out t7.err t8.out t8.err t9.out t9.err ta.out ta.err \
+tb.out tb.err tc.out tc.err td.out td.err te.out te.err tf.out tf.err tg.out \
+tg.err th.out th.err ti.out ti.err tj.out tj.err tk.out tk.err tl.out tl.err \
+tm.out tm.err tn.out tn.err to.out to.err tp.out tp.err tq.out tq.err tr.out \
+tr.err ts.out ts.err tt.out tt.err tu.out tu.err tv.out tv.err tw.out tw.err \
+tx.out tx.err ty.out ty.err tz.out tz.err tA.out tA.err tB.out tB.err tC.out \
+tC.err tD.out tD.err
+
+EXTRA_DIST = mk-script.pl Test.pm $x-tests $(explicit) $(maint_gen)
noinst_SCRIPTS = $x-tests
PERL = @PERL@
@@ -61,8 +71,8 @@ TESTS = $x-tests
SUFFIXES = .pl
-MAINTAINERCLEANFILES = $x-tests $(in) $(exp)
-CLEANFILES = $(out) $(err)
+MAINTAINERCLEANFILES = $x-tests $(maint_gen)
+CLEANFILES = $(run_gen)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../../config.h
CONFIG_CLEAN_FILES =
@@ -185,7 +195,16 @@ $x-tests: @MAINT@mk-script Test.pm
.pl:
rm -f $@ $@.tmp
- $(editpl) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
+ $(editpl) $< > $@.tmp
+ chmod +x-w $@.tmp
+ mv $@.tmp $@
+
+@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@ ./mk-script --list >> $$rb; \
+@MAINT@ sed -n '/^##test-files-end/,$$p' Makefile.am >> $$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.
# Otherwise a system limit (for SysV at least) may be exceeded.