diff options
author | Karl Berry <karl@freefriends.org> | 2009-12-24 18:51:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-12-24 18:51:38 +0000 |
commit | a2eb7858f36f976971477d13bc9e87b40b554a31 (patch) | |
tree | 9883dd0cc977271c1bc913f2fc959fb4d0b20e08 /Build/source | |
parent | 8f64709f205bc04159b5a6ca926d9c09e26061ae (diff) |
run make check at make world
git-svn-id: svn://tug.org/texlive/trunk@16500 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/Makefile.am | 9 | ||||
-rw-r--r-- | Build/source/Makefile.in | 8 |
3 files changed, 21 insertions, 0 deletions
diff --git a/Build/source/ChangeLog b/Build/source/ChangeLog index c43cac7e859..dda078fe19c 100644 --- a/Build/source/ChangeLog +++ b/Build/source/ChangeLog @@ -1,5 +1,9 @@ 2009-12-24 Karl Berry <karl@tug.org> + * Makefile.am (world): also run make check. + (check_target): new variable. + (skip): new target, to do nothing. + * Build (TL_CONF_BANNER): add /dev. 2009-12-22 Karl Berry <karl@tug.org> diff --git a/Build/source/Makefile.am b/Build/source/Makefile.am index ec85b1543ee..d569191eb09 100644 --- a/Build/source/Makefile.am +++ b/Build/source/Makefile.am @@ -42,9 +42,18 @@ DIST_SUBDIRS = auxdir/auxsub texk/kpathsea libs utils texk # and there is no install-hook or install-local. world: all ## Serialize 'make all' and 'make install-strip'. + @echo "top-level make $@: running $(check_target)..." + $(MAKE) $(AM_MAKEFLAGS) $(check_target) +## + @echo "top-level make $@: running install-strip..." $(MAKE) $(AM_MAKEFLAGS) install-strip ## @echo "top-level make $@: running texlinks in texk/tetex..." cd texk/tetex && $(MAKE) $(AM_MAKEFLAGS) run-texlinks ## @echo "make $@ done." + +# Allow for skipping make check if needed. +check_target = check +skip: +.PHONY: skip diff --git a/Build/source/Makefile.in b/Build/source/Makefile.in index 65ca5b700a2..3e73eb1fa87 100644 --- a/Build/source/Makefile.in +++ b/Build/source/Makefile.in @@ -338,6 +338,9 @@ EXTRA_DIST = \ @build_kpathsea_FALSE@SUBDIRS = libs utils texk @build_kpathsea_TRUE@SUBDIRS = texk/kpathsea libs utils texk DIST_SUBDIRS = auxdir/auxsub texk/kpathsea libs utils texk + +# Allow for skipping make check if needed. +check_target = check all: all-recursive .SUFFIXES: @@ -828,10 +831,15 @@ dist-hook: # at install-data, and fmtutil.cnf won't be there at install-exec, # and there is no install-hook or install-local. world: all + @echo "top-level make $@: running $(check_target)..." + $(MAKE) $(AM_MAKEFLAGS) $(check_target) + @echo "top-level make $@: running install-strip..." $(MAKE) $(AM_MAKEFLAGS) install-strip @echo "top-level make $@: running texlinks in texk/tetex..." cd texk/tetex && $(MAKE) $(AM_MAKEFLAGS) run-texlinks @echo "make $@ done." +skip: +.PHONY: skip # 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. |