summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2012-05-13 01:25:27 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2012-05-13 01:25:27 +0200
commit42be9d0c24a418e1509b9c2286f036ba4cafd4bb (patch)
tree4597b2378e8311d4cf153bdbeb02bcdf4d9f7f76 /Makefile
parent7cf2ce3a03dc8ec07796acf51c3c1e60a908f405 (diff)
downloadluaotfload-42be9d0c24a418e1509b9c2286f036ba4cafd4bb.tar.gz
Get make check-all to work as advertised
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index b8dfee7..82bc4f5 100644
--- a/Makefile
+++ b/Makefile
@@ -15,8 +15,8 @@ SOURCE = $(DTX) $(OTFL) README Makefile NEWS $(SCRIPT)
# test files
TESTDIR = tests
TESTFILES = $(wildcard $(TESTDIR)/*.tex)
-TESTFILE_SYS = $(TESTDIR)/systemfonts.tex $(TESTDIR)/fontconfig_conf_reading.tex
-TESTFILES_TL = $(filter-out $(TESTFILE_SYS), $(TESTFILES))
+TESTFILES_SYS = $(TESTDIR)/systemfonts.tex $(TESTDIR)/fontconfig_conf_reading.tex
+TESTFILES_TL = $(filter-out $(TESTFILES_SYS), $(TESTFILES))
TESTINPUTS = '.;..;$$TEXMF/tex/{luatex,plain,generic,}//'
# Files grouped by installation location
@@ -90,10 +90,12 @@ check: $(RUNFILES) $(TESTFILES_TL)
> /dev/null || exit $$?; \
done
-check-all: $(TESTFILE_SYS) check
- @echo "check: luatex $<"
- @cd $(TESTDIR); env TEXINPUTS=$(TESTINPUTS) luatex --interaction=batchmode ../$< \
- >/dev/null
+check-all: $(TESTFILES_SYS) check
+ @cd $(TESTDIR); for f in $(TESTFILES_SYS); do \
+ echo "check: luatex $$f"; \
+ env TEXINPUTS=$(TESTINPUTS) luatex --interaction=batchmode ../$$f \
+ > /dev/null || exit $$?; \
+ done
manifest:
@echo "Source files:"