summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-01-13 19:58:14 +0100
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-01-13 20:42:29 +0100
commitf63af9a552cf853b4fa622750ffbf749cd333533 (patch)
tree4e67ae61d29a68f07b02967f3f49b9547b122be7 /Makefile
parent849e05ead8cfb4e43c1b101e8fa60456b73a2936 (diff)
downloadluatexbase-f63af9a552cf853b4fa622750ffbf749cd333533.tar.gz
Add test files for regs.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9716ade..e12100c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# Makefile for luaotfload
+# Makefile for luatexbase
NAME = luatexbase
DTX = $(wildcard *.dtx)
@@ -6,7 +6,8 @@ DOC = $(patsubst %.dtx, %.pdf, $(DTX))
# Files grouped by generation mode
UNPACKED_MCB = luamcallbacks-test.tex luamcallbacks.lua
-UNPACKED_REGS = luatexbase-regs.sty luatexbase-regs-latex.tex
+UNPACKED_REGS = luatexbase-regs.sty luatexbase-regs-latex.tex \
+ test-regs-plain.tex test-regs-latex.tex
UNPACKED = $(UNPACKED_MCB) $(UNPACKED_REGS)
COMPILED = $(DOC)
GENERATED = $(COMPILED) $(UNPACKED)
@@ -36,11 +37,13 @@ DO_TEX = tex --interaction=batchmode $< >/dev/null
DO_PDFLATEX = pdflatex --interaction=batchmode $< >/dev/null
DO_MAKEINDEX = makeindex -s gind.ist $(subst .dtx,,$<) >/dev/null 2>&1
+# Main targets definition
all: $(GENERATED)
+check: check-regs
doc: $(COMPILED)
unpack: $(UNPACKED)
ctan: $(CTAN_ZIP)
-tds: $(TDS_ZIP)
+tds: check $(TDS_ZIP)
world: all ctan
%.pdf: %.dtx
@@ -55,6 +58,10 @@ $(UNPACKED_MCB): luamcallbacks.dtx
$(UNPACKED_REGS): luatexbase-regs.dtx
$(DO_TEX)
+check-regs: $(UNPACKED_REGS)
+ #luatex --interaction=batchmode test-regs-latex.tex >/dev/null
+ lualatex --interaction=batchmode test-regs-latex.tex >/dev/null
+
$(CTAN_ZIP): $(SOURCE) $(COMPILED) $(TDS_ZIP)
@echo "Making $@ for CTAN upload."
@$(RM) -- $@