summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-05-10 14:08:04 +0200
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-05-10 15:22:30 +0200
commit58fa4e387ae987c25fc74334f37a0d4678060436 (patch)
treeb5cdc7796927382a040201f673167bfd688d2aea /Makefile
parent38253f7ca20cb59c97039f0db6794d369e86376c (diff)
downloadluatexbase-58fa4e387ae987c25fc74334f37a0d4678060436.tar.gz
Add a check for the loader.
Check for a bug
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f2e9a8d..143f48a 100644
--- a/Makefile
+++ b/Makefile
@@ -15,8 +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
+TMP_LOADER = test-loader # temporary file for testing
UNPACKED_LOADER = $(LOADER_RUN) \
- test-loader-plain.tex test-loader-latex.tex
+ $(TMP_LOADER).lua test-loader.sub.lua
UNPACKED_MODUTILS = $(MOD_RUN) \
test-modutils-plain.tex test-modutils-latex.tex test-modutils.lua
UNPACKED = $(UNPACKED_MCB) $(UNPACKED_REGS) $(UNPACKED_ATTR) $(UNPACKED_CCTB) \
@@ -95,6 +96,7 @@ check-cctb: $(UNPACKED_CCTB) $(LOADER_RUN)
lualatex --interaction=batchmode test-cctb-latex.tex >/dev/null
check-loader: $(UNPACKED_LOADER)
+ echo "this is no lua code" > $(TMP_LOADER).tex
luatex --interaction=batchmode test-loader-plain.tex >/dev/null
lualatex --interaction=batchmode test-loader-latex.tex >/dev/null
@@ -141,5 +143,5 @@ clean:
@$(RM) -- *.log *.aux *.toc *.idx *.ind *.ilg *.out test-*.pdf
mrproper: clean
- @$(RM) -- $(GENERATED) $(ZIPS)
+ @$(RM) -- $(GENERATED) $(ZIPS) $(TMP_LOADER).tex