summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/uptexdir/am
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-08-24 08:01:47 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-08-24 08:01:47 +0000
commit9e82db30ffdc8ecdc1ddb1085d686a34699832b8 (patch)
treed6cc92ba1d27a08fbd06d03d456198f7bd2c3390 /Build/source/texk/web2c/uptexdir/am
parentda7ca18222c1c8e21d88f0589eef1f824ddf0674 (diff)
upTeX and e-upTeX: final(?) version + some test cases
git-svn-id: svn://tug.org/texlive/trunk@23678 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/uptexdir/am')
-rw-r--r--Build/source/texk/web2c/uptexdir/am/uptex.am51
1 files changed, 51 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/uptexdir/am/uptex.am b/Build/source/texk/web2c/uptexdir/am/uptex.am
index 541f69547e6..98b589bb106 100644
--- a/Build/source/texk/web2c/uptexdir/am/uptex.am
+++ b/Build/source/texk/web2c/uptexdir/am/uptex.am
@@ -10,6 +10,18 @@ up_tangle = WEBINPUTS=.:$(srcdir)/uptexdir:$(srcdir) $(buildenv) $(TANGLE)
upweb_programs = upbibtex updvitype uppltotf uptftopl
+# upTeX Tests
+uptex_tests = uptexdir/uptrip.test
+upweb_tests = \
+ uptexdir/upbibtex.test \
+ uptexdir/updvitype.test \
+ uptexdir/uppltotf.test \
+ uptexdir/uptftopl.test
+
+EXTRA_DIST += $(uptex_tests) $(upweb_tests)
+DISTCLEANFILES += $(upweb_programs:=.c) $(upweb_programs:=.h) \
+ $(upweb_programs:=.p) $(upweb_programs:=-web2c) $(upweb_programs:=.web)
+
## libukanji.a for upTeX and e-upTeX
##
EXTRA_LIBRARIES += libukanji.a
@@ -156,3 +168,42 @@ uptftopl.web: tie$(EXEEXT) tftopl.web tftopl.ch ptexdir/ptftopl.ch
$(tie) -m uptftopl.web tftopl.web tftopl.ch ptexdir/ptftopl.ch
EXTRA_DIST += ptexdir/ptftopl.ch uptexdir/uptftopl.ch
+##
+EXTRA_DIST += \
+ uptexdir/COPYRIGHT \
+ uptexdir/COPYRIGHT.jis \
+ uptexdir/ChangeLog
+
+if UPTEX
+TESTS += $(uptex_tests)
+check_PROGRAMS += dvitype pltotf tftopl
+TRIPTRAP += uptrip.diffs
+TRIPTRAP_CLEAN += uptrip-clean
+endif UPTEX
+if UPWEB
+TESTS += $(upweb_tests)
+endif UPWEB
+
+## Test data and results
+##
+## uptexdir/upbibtex.test
+DISTCLEANFILES += tests/xexampl.aux tests/xexampl.bbl tests/xexampl.blg
+## uptexdir/updvitype.test
+DISTCLEANFILES += tests/xstory.dvityp tests/xpagenum.typ
+## uptexdir/uppltotf.test
+DISTCLEANFILES += tests/xcmr10.tfm
+## uptexdir/uptftopl.test
+DISTCLEANFILES += tests/xcmr10.pl
+## uptexdir/uptrip.test
+EXTRA_DIST += uptexdir/uptrip/uptrip.diffs uptexdir/uptrip/texmf.cnf
+uptrip.diffs: uptex$(EXEEXT)
+ $(triptrap_diffs) $@
+.PHONY: uptrip-clean
+uptrip-clean:
+ rm -f trip.tfm trip.pl trip.tex trip.fmt uptripin.fot uptripin.log
+ rm -f uptrip.fot uptrip.log trip.log trip.dvi trip.typ
+ rm -f uptrip.fot uptrip.log uptrip.dvi uptrip.typ
+ rm -f tripos.tex 8terminal.tex
+ rm -rf tfm
+DISTCLEANFILES += uptrip.diffs
+