diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-05-30 16:04:55 +0200 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-05-30 16:04:55 +0200 |
commit | 59d003f00357dc794ac125d5dcfcacbc760737df (patch) | |
tree | 646f8cfa7b28c539cf6390f29c7fd28ba8ef8d4b | |
parent | 58561dcddc21d070da19b67012ed98ddb4dda721 (diff) | |
download | luaotfload-59d003f00357dc794ac125d5dcfcacbc760737df.tar.gz |
Add a check target, make ctan depend on it.
-rw-r--r-- | Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -12,6 +12,10 @@ UNPACKED = luaotfload.sty luaotfload.lua GENERATED = $(COMPILED) $(UNPACKED) SOURCE = $(DTX) $(OTFL) README Makefile NEWS $(SCRIPT) +# test files +TESTDIR = tests +TESTFILES = $(wildcard $(TESTDIR)/*.tex) + # Files grouped by installation location SCRIPTFILES = $(SCRIPT) RUNFILES = $(UNPACKED) $(OTFL) @@ -41,7 +45,7 @@ DO_MAKEINDEX = makeindex -s gind.ist $(subst .dtx,,$<) >/dev/null 2>&1 all: $(GENERATED) doc: $(COMPILED) unpack: $(UNPACKED) -ctan: $(CTAN_ZIP) +ctan: check $(CTAN_ZIP) tds: $(TDS_ZIP) world: all ctan @@ -80,6 +84,12 @@ install: $(ALL_FILES) @echo "Installing in '$(TEXMFROOT)'." $(run-install) +check: $(RUNFILES) $(TESTFILES) + @for f in $(TESTFILES); do \ + echo "check: luatex $$f"; \ + luatex --interaction=batchmode $$f > /dev/null || exit $$?; \ + done + manifest: @echo "Source files:" @for f in $(SOURCE); do echo $$f; done |