summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-03-28 00:37:05 +0100
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-03-28 00:37:05 +0100
commitad8bcc3e4491d51e5ac37bf6ed7c7337a33c1fc3 (patch)
tree813bec70a60ddeaafc2e635607e2baf6ee210779 /Makefile
parent8fce8f995b8eaebb5bf79813fd44296c61aac1c7 (diff)
downloadluatexbase-ad8bcc3e4491d51e5ac37bf6ed7c7337a33c1fc3.tar.gz
Make luamcallmabcks test file work.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 64fe331..9baf7fb 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,8 @@ NAME = luatexbase
DTX = $(wildcard *.dtx)
DOC = $(patsubst %.dtx, %.pdf, $(DTX))
DTXSTY = lltxb-dtxstyle.tex
+LOADER_RUN = luatexbase-loader.sty luatexbase.loader.lua
+MOD_RUN = luatexbase-modutils.sty luatexbase.modutils.lua
# Files grouped by generation mode
UNPACKED_MCB = test-luamcallbacks.tex luamcallbacks.lua
@@ -13,9 +15,9 @@ UNPACKED_ATTR = luatexbase-attr.sty luatexbase.attr.lua \
test-attr-plain.tex test-attr-latex.tex
UNPACKED_CCTB = luatexbase-cctb.sty luatexbase.cctb.lua \
test-cctb-plain.tex test-cctb-latex.tex
-UNPACKED_LOADER = luatexbase-loader.sty luatexbase.loader.lua \
+UNPACKED_LOADER = $(LOADER_RUN) \
test-loader-plain.tex test-loader-latex.tex
-UNPACKED_MODUTILS = luatexbase-modutils.sty luatexbase.modutils.lua \
+UNPACKED_MODUTILS = $(MOD_RUN) \
test-modutils-plain.tex test-modutils-latex.tex
UNPACKED = $(UNPACKED_MCB) $(UNPACKED_REGS) $(UNPACKED_ATTR) $(UNPACKED_CCTB) \
$(UNPACKED_LOADER) $(UNPACKED_MODUTILS)
@@ -49,7 +51,7 @@ DO_MAKEINDEX = makeindex -s gind.ist $(subst .dtx,,$<) >/dev/null 2>&1
# Main targets definition
all: $(GENERATED)
-check: check-regs check-attr check-cctb check-loader check-modutils
+check: check-regs check-attr check-cctb check-loader check-modutils check-mcb
doc: $(COMPILED)
unpack: $(UNPACKED)
ctan: check $(CTAN_ZIP)
@@ -100,6 +102,9 @@ check-modutils: $(UNPACKED_MODUTILS)
luatex --interaction=batchmode test-modutils-plain.tex >/dev/null
lualatex --interaction=batchmode test-modutils-latex.tex >/dev/null
+check-mcb: $(UNPACKED_MCB) $(LOADER_RUN) $(MOD_RUN)
+ luatex --interaction=batchmode test-luamcallbacks.tex >/dev/null
+
$(CTAN_ZIP): $(SOURCE) $(COMPILED) $(TDS_ZIP)
@echo "Making $@ for CTAN upload."
@$(RM) -- $@