summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/am
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2015-07-10 09:42:52 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2015-07-10 09:42:52 +0000
commit29257ccc28919fcb506e6582fa5078ed0e542f70 (patch)
treeb496bed4f943710ee6abb20302b43bbadf6bb4a7 /Build/source/texk/web2c/am
parent116014c0fb6d1b6bce11288c0d39c0f1aeb7cc4e (diff)
Build system: Better dependencies for 'make check'
git-svn-id: svn://tug.org/texlive/trunk@37824 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/am')
-rw-r--r--Build/source/texk/web2c/am/bootstrap.am3
-rw-r--r--Build/source/texk/web2c/am/cweb.am5
-rw-r--r--Build/source/texk/web2c/am/texmf.am13
-rw-r--r--Build/source/texk/web2c/am/web.am18
4 files changed, 30 insertions, 9 deletions
diff --git a/Build/source/texk/web2c/am/bootstrap.am b/Build/source/texk/web2c/am/bootstrap.am
index 5d014fa404f..f37c6ddbcd6 100644
--- a/Build/source/texk/web2c/am/bootstrap.am
+++ b/Build/source/texk/web2c/am/bootstrap.am
@@ -1,6 +1,6 @@
## texk/web2c/am/bootstrap.am: Makefile fragment for tangle and ctangle.
##
-## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org>
+## Copyright (C) 2009-2015 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.
cp_silent = $(cp_silent_@AM_V@)
@@ -92,6 +92,7 @@ DISTCLEANFILES += ctangleboot.c cwebboot.c cwebboot.h
EXTRA_DIST += tangle.test
TESTS += tangle.test
+tangle.log: tangle$(EXEEXT)
DISTCLEANFILES += cftest.p
diff --git a/Build/source/texk/web2c/am/cweb.am b/Build/source/texk/web2c/am/cweb.am
index 574a411747e..b55ae163884 100644
--- a/Build/source/texk/web2c/am/cweb.am
+++ b/Build/source/texk/web2c/am/cweb.am
@@ -1,6 +1,6 @@
## texk/web2c/am/cweb.am: Makefile fragment for cweb programs (except ctangle).
##
-## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org>
+## Copyright (C) 2009-2015 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.
bin_PROGRAMS += ctie cweave tie
@@ -31,6 +31,9 @@ DISTCLEANFILES += tie.c
## Tests
##
TESTS += ctiedir/ctie.test cwebdir/cweave.test tiedir/tie.test
+ctiedir/ctie.log: ctie$(EXEEXT)
+cwebdir/cweave.log: cweave$(EXEEXT)
+tiedir/tie.log: tie$(EXEEXT)
## ctiedir/ctie.test
DISTCLEANFILES += ctie.outc ctie.outm
diff --git a/Build/source/texk/web2c/am/texmf.am b/Build/source/texk/web2c/am/texmf.am
index ff9dcc8645c..2ec67cbd27a 100644
--- a/Build/source/texk/web2c/am/texmf.am
+++ b/Build/source/texk/web2c/am/texmf.am
@@ -73,12 +73,13 @@ DISTCLEANFILES += $(nodist_tex_SOURCES) tex-final.ch tex-web2c \
# TeX tests
#
-tex_tests = triptest tests/write18-quote-test.pl
+tex_tests = triptest.test tests/write18-quote-test.pl
+triptest.log: tex$(EXEEXT) dvitype$(EXEEXT) pltotf$(EXEEXT) tftopl$(EXEEXT)
+tests/write18-quote-test.log: tex$(EXEEXT)
EXTRA_DIST += $(tex_tests)
EXTRA_DIST += tests/write18-quote.tex
if TEX
TESTS += $(tex_tests)
-check_PROGRAMS += dvitype pltotf tftopl
TRIPTRAP += trip.diffs
TRIPTRAP_CLEAN += trip-clean
endif TEX
@@ -88,7 +89,7 @@ DISTCLEANFILES += trip.diffs
DISTCLEANFILES += write18-quote.log
## triptest
-trip.diffs: tex$(EXEEXT)
+trip.diffs: tex$(EXEEXT) dvitype$(EXEEXT) pltotf$(EXEEXT) tftopl$(EXEEXT)
$(triptrap_diffs) $@
.PHONY: trip-clean
trip-clean:
@@ -200,17 +201,17 @@ DISTCLEANFILES += $(nodist_libmf_a_SOURCES) mf-final.ch mf-web2c \
# Metafont tests
#
-mf_tests = mftraptest
+mf_tests = mftraptest.test
+mftraptest.log: mf$(EXEEXT) gftype$(EXEEXT) tftopl$(EXEEXT)
EXTRA_DIST += $(mf_tests)
if MF
TESTS += $(mf_tests)
-check_PROGRAMS += gftype tftopl
TRIPTRAP += mftrap.diffs
TRIPTRAP_CLEAN += trap-clean
endif MF
## mftraptest
-mftrap.diffs: mf$(EXEEXT)
+mftrap.diffs: mf$(EXEEXT) gftype$(EXEEXT) tftopl$(EXEEXT)
$(triptrap_diffs) $@
.PHONY: trap-clean
trap-clean:
diff --git a/Build/source/texk/web2c/am/web.am b/Build/source/texk/web2c/am/web.am
index 08f9a1e9c11..fcb7165d7db 100644
--- a/Build/source/texk/web2c/am/web.am
+++ b/Build/source/texk/web2c/am/web.am
@@ -28,6 +28,8 @@ bibtex.p: tangle$(EXEEXT) bibtex.web bibtex.ch
$(tangle) bibtex bibtex
web_tests += tests/bibtex-openout-test.pl tests/bibtex-longline-test.pl
web_tests += tests/bibtex-mem.test
+bibtex.log tests/bibtex-openout-test.log tests/bibtex-longline-test.log \
+ tests/bibtex-mem.log: bibtex$(EXEEXT)
nodist_dvicopy_SOURCES = dvicopy.c dvicopy.h
dvicopy.c dvicopy.h: dvicopy-web2c
@@ -36,6 +38,7 @@ dvicopy-web2c: dvicopy.p $(web2c_depend)
@$(web2c) dvicopy
dvicopy.p: tangle$(EXEEXT) dvicopy.web dvicopy.ch
$(tangle) dvicopy dvicopy
+dvicopy.log: dvicopy$(EXEEXT)
nodist_dvitype_SOURCES = dvitype.c dvitype.h
dvitype.c dvitype.h: dvitype-web2c
@@ -44,6 +47,7 @@ dvitype-web2c: dvitype.p $(web2c_depend)
@$(web2c) dvitype
dvitype.p: tangle$(EXEEXT) dvitype.web dvitype.ch
$(tangle) dvitype dvitype
+dvitype.log: dvitype$(EXEEXT)
nodist_gftodvi_SOURCES = gftodvi.c gftodvi.h
gftodvi.c gftodvi.h: gftodvi-web2c
@@ -53,6 +57,7 @@ gftodvi-web2c: gftodvi.p $(web2c_depend)
gftodvi.p: tangle$(EXEEXT) gftodvi.web gftodvi.ch
$(tangle) gftodvi gftodvi
gftodvi_SOURCES = gftodmem.h
+gftodvi.log: gftodvi$(EXEEXT)
nodist_gftopk_SOURCES = gftopk.c gftopk.h
gftopk.c gftopk.h: gftopk-web2c
@@ -61,6 +66,7 @@ gftopk-web2c: gftopk.p $(web2c_depend)
@$(web2c) gftopk
gftopk.p: tangle$(EXEEXT) gftopk.web gftopk.ch
$(tangle) gftopk gftopk
+gftopk.log: gftopk$(EXEEXT)
nodist_gftype_SOURCES = gftype.c gftype.h
gftype.c gftype.h: gftype-web2c
@@ -69,6 +75,7 @@ gftype-web2c: gftype.p $(web2c_depend)
@$(web2c) gftype
gftype.p: tangle$(EXEEXT) gftype.web gftype.ch
$(tangle) gftype gftype
+gftype.log: gftype$(EXEEXT)
nodist_mft_SOURCES = mft.c mft.h
mft.c mft.h: mft-web2c
@@ -77,6 +84,7 @@ mft-web2c: mft.p $(web2c_depend)
@$(web2c) mft
mft.p: tangle$(EXEEXT) mft.web mft.ch
$(tangle) mft mft
+mft.log: mft$(EXEEXT)
nodist_patgen_SOURCES = patgen.c patgen.h
patgen.c patgen.h: patgen-web2c
@@ -85,6 +93,7 @@ patgen-web2c: patgen.p $(web2c_depend)
@$(web2c) patgen
patgen.p: tangle$(EXEEXT) patgen.web patgen.ch
$(tangle) patgen patgen
+patgen.log: patgen$(EXEEXT)
nodist_pktogf_SOURCES = pktogf.c pktogf.h
pktogf.c pktogf.h: pktogf-web2c
@@ -93,6 +102,7 @@ pktogf-web2c: pktogf.p $(web2c_depend)
@$(web2c) pktogf
pktogf.p: tangle$(EXEEXT) pktogf.web pktogf.ch
$(tangle) pktogf pktogf
+pktogf.log: pktogf$(EXEEXT)
nodist_pktype_SOURCES = pktype.c pktype.h
pktype.c pktype.h: pktype-web2c
@@ -101,6 +111,7 @@ pktype-web2c: pktype.p $(web2c_depend)
@$(web2c) pktype
pktype.p: tangle$(EXEEXT) pktype.web pktype.ch
$(tangle) pktype pktype
+pktype.log: pktype$(EXEEXT)
nodist_pltotf_SOURCES = pltotf.c pltotf.h
pltotf.c pltotf.h: pltotf-web2c
@@ -109,6 +120,7 @@ pltotf-web2c: pltotf.p $(web2c_depend)
@$(web2c) pltotf
pltotf.p: tangle$(EXEEXT) pltotf.web pltotf.ch
$(tangle) pltotf pltotf
+pltotf.log: pltotf$(EXEEXT)
nodist_pooltype_SOURCES = pooltype.c pooltype.h
pooltype.c pooltype.h: pooltype-web2c
@@ -117,6 +129,7 @@ pooltype-web2c: pooltype.p $(web2c_depend)
@$(web2c) pooltype
pooltype.p: tangle$(EXEEXT) pooltype.web pooltype.ch
$(tangle) pooltype pooltype
+pooltype.log: pooltype$(EXEEXT) tex.pool
nodist_tftopl_SOURCES = tftopl.c tftopl.h
tftopl.c tftopl.h: tftopl-web2c
@@ -125,6 +138,7 @@ tftopl-web2c: tftopl.p $(web2c_depend)
@$(web2c) tftopl
tftopl.p: tangle$(EXEEXT) tftopl.web tftopl.ch
$(tangle) tftopl tftopl
+tftopl.log: tftopl$(EXEEXT)
nodist_vftovp_SOURCES = vftovp.c vftovp.h
vftovp.c vftovp.h: vftovp-web2c
@@ -133,6 +147,7 @@ vftovp-web2c: vftovp.p $(web2c_depend)
@$(web2c) vftovp
vftovp.p: tangle$(EXEEXT) vftovp.web vftovp.ch
$(tangle) vftovp vftovp
+vftovp.log: vftovp$(EXEEXT)
nodist_vptovf_SOURCES = vptovf.c vptovf.h
vptovf.c vptovf.h: vptovf-web2c
@@ -141,6 +156,7 @@ vptovf-web2c: vptovf.p $(web2c_depend)
@$(web2c) vptovf
vptovf.p: tangle$(EXEEXT) vptovf.web vptovf.ch
$(tangle) vptovf vptovf
+vptovf.log: vptovf$(EXEEXT)
nodist_weave_SOURCES = weave.c weave.h
weave.c weave.h: weave-web2c
@@ -149,6 +165,7 @@ weave-web2c: weave.p $(web2c_depend)
@$(web2c) weave
weave.p: tangle$(EXEEXT) weave.web weave.ch
$(tangle) weave weave
+weave.log: weave$(EXEEXT)
## Tests.
##
@@ -185,7 +202,6 @@ DISTCLEANFILES += tests/xcmr10.pktyp
## pltotf.test
DISTCLEANFILES += badpl.* tests/xcmr10.tfm
## pooltype.test
-pooltype.log: pooltype$(EXEEXT) tex.pool
DISTCLEANFILES += tests/xtexpool.typ
## tftopl.test
DISTCLEANFILES += badtfm.* tests/xcmr10*.pl