summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-08-18 05:25:08 +0000
committerJim Meyering <jim@meyering.net>1996-08-18 05:25:08 +0000
commit730ec4650a07bee8f863d9d83ff8fc4804233ffb (patch)
tree8c660426596706686e62c7a39388ba1fd6b3223c /tests
parent98b9e6e30ba09925b9f013ed76dfb6b1e41ec8f9 (diff)
downloadcoreutils-730ec4650a07bee8f863d9d83ff8fc4804233ffb.tar.xz
Factor out tr as much as possible.
Diffstat (limited to 'tests')
-rw-r--r--tests/tr/Makefile.am11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/tr/Makefile.am b/tests/tr/Makefile.am
index 49c0abf45..0f29753e8 100644
--- a/tests/tr/Makefile.am
+++ b/tests/tr/Makefile.am
@@ -2,6 +2,7 @@
AUTOMAKE_OPTIONS = 1.1c
+x = tr
in = \
t1.in t2.in t3.in t4.in t5.in t6.in t7.in t8.in t9.in tA.in tB.in \
tC.in tD.in tE.in tF.in tG.in tH.in tI.in tR0.0.in tR0.1.in tR1.0.in \
@@ -14,15 +15,15 @@ out = $(in:.in=.out)
err = $(in:.in=.err)
EXTRA_DIST = build-script.pl Test.pm $(in) $(exp)
-noinst_SCRIPTS = tr-tests
+noinst_SCRIPTS = $x-tests
PERL = @PERL@
editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,@srcdir@,g'
-TESTS = tr-tests
+TESTS = $x-tests
-tr-tests: build-script Test.pm
- ./build-script ../../src/tr > $@.n
+$x-tests: build-script Test.pm
+ ./build-script ../../src/$x > $@.n
mv $@.n $@
chmod 755 $@
@@ -32,5 +33,5 @@ SUFFIXES = .pl
rm -f $@ $@.tmp
$(editpl) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
-MAINTAINERCLEANFILES = tr-tests $(in) $(exp)
+MAINTAINERCLEANFILES = $x-tests $(in) $(exp)
CLEANFILES = $(out) $(err)