From 58fa4e387ae987c25fc74334f37a0d4678060436 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 10 May 2010 14:08:04 +0200 Subject: Add a check for the loader. Check for a bug --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3