summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-01-21 21:42:33 +0100
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-01-21 21:42:33 +0100
commit64be9a101c83d756d844496caf788e643658dad1 (patch)
treeb81c0b04609bc7a59d50c6226c40a64187128e0b
parent67a1fcd4d9f891452a0f53c5d6a7441be80d2a8f (diff)
downloadluatexbase-64be9a101c83d756d844496caf788e643658dad1.tar.gz
Handle test files correctly in Makefile.
-rw-r--r--Makefile8
-rw-r--r--luamcallbacks.dtx6
2 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index a430a2a..cf94621 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ DOC = $(patsubst %.dtx, %.pdf, $(DTX))
DTXSTY = lltxb-dtxstyle.tex
# Files grouped by generation mode
-UNPACKED_MCB = luamcallbacks-test.tex luamcallbacks.lua
+UNPACKED_MCB = test-luamcallbacks.tex luamcallbacks.lua
UNPACKED_REGS = luatexbase-regs.sty \
test-regs-plain.tex test-regs-latex.tex
UNPACKED = $(UNPACKED_MCB) $(UNPACKED_REGS)
@@ -15,8 +15,8 @@ GENERATED = $(COMPILED) $(UNPACKED)
SOURCE = $(DTX) $(DTXSTY) README TODO Makefile
# Files grouped by installation location
-RUNFILES = $(UNPACKED)
-DOCFILES = $(DOC) README TODO
+RUNFILES = $(filter-out test-%, $(UNPACKED))
+DOCFILES = $(DOC) $(filter test-%, $(UNPACKED)) README TODO
SRCFILES = $(DTX) Makefile
# The following definitions should be equivalent
@@ -44,7 +44,7 @@ check: check-regs
doc: $(COMPILED)
unpack: $(UNPACKED)
ctan: $(CTAN_ZIP)
-tds: check $(TDS_ZIP)
+tds: check $(TDS_ZIP) Makefile
world: all ctan
%.pdf: %.dtx $(DTXSTY)
diff --git a/luamcallbacks.dtx b/luamcallbacks.dtx
index c23a198..6b06b24 100644
--- a/luamcallbacks.dtx
+++ b/luamcallbacks.dtx
@@ -7,7 +7,7 @@
% This work consists of the main source file luamcallbacks.dtx
% and the derived files
% luamcallbacks.sty, luamcallbacks.tex, luamcallbacks.lua
-% luamcallbacks-test.tex, luamcallbacks.pdf.
+% test-luamcallbacks.tex, luamcallbacks.pdf.
%
% Unpacking:
% tex luamcallbacks.dtx
@@ -49,7 +49,7 @@ This work is under the CC0 license.
This work consists of the main source file luamcallbacks.dtx
and the derived files
- luamcallbacks.lua, luamcallbacks-test.tex, luamcallbacks.pdf.
+ luamcallbacks.lua, test-luamcallbacks.tex, luamcallbacks.pdf.
\endpreamble
@@ -57,7 +57,7 @@ and the derived files
\generate{%
\usedir{doc/luatex/luatextra}%
- \file{luamcallbacks-test.tex}{\from{luamcallbacks.dtx}{test}}%
+ \file{test-luamcallbacks.tex}{\from{luamcallbacks.dtx}{test}}%
}
% The following hacks are to generate a lua file with lua comments starting by