summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/luatex/luaotfload/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/luatex/luaotfload/Makefile')
-rw-r--r--Master/texmf-dist/source/luatex/luaotfload/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/luatex/luaotfload/Makefile b/Master/texmf-dist/source/luatex/luaotfload/Makefile
index 2f38501ec9c..0dbcb178512 100644
--- a/Master/texmf-dist/source/luatex/luaotfload/Makefile
+++ b/Master/texmf-dist/source/luatex/luaotfload/Makefile
@@ -15,6 +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))
# Files grouped by installation location
SCRIPTFILES = $(SCRIPT)
@@ -84,12 +86,18 @@ install: $(ALL_FILES)
@echo "Installing in '$(TEXMFROOT)'."
$(run-install)
-check: $(RUNFILES) $(TESTFILES)
- @for f in $(TESTFILES); do \
+check: $(RUNFILES) $(TESTFILES_TL)
+ @for f in $(TESTFILES_TL); do \
echo "check: luatex $$f"; \
- luatex --interaction=batchmode $$f > /dev/null || exit $$?; \
+ luatex --interaction=batchmode --output-directory $(TESTDIR) $$f \
+ > /dev/null || exit $$?; \
done
+check-all: $(TESTFILE_SYS) check
+ @echo "check: luatex $<"
+ @luatex --interaction=batchmode --output-directory $(TESTDIR) $< \
+ >/dev/null
+
manifest:
@echo "Source files:"
@for f in $(SOURCE); do echo $$f; done
@@ -98,8 +106,8 @@ manifest:
@for f in $(GENERATED); do echo $$f; done
clean:
- @$(RM) -- *.log *.aux *.toc *.idx *.ind *.ilg *.out
+ @$(RM) -- *.log *.aux *.toc *.idx *.ind *.ilg *.out $(TESTDIR)/*.log
mrproper: clean
- @$(RM) -- $(GENERATED) $(ZIPS)
+ @$(RM) -- $(GENERATED) $(ZIPS) $(TESTDIR)/*.pdf