From 64be9a101c83d756d844496caf788e643658dad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Thu, 21 Jan 2010 21:42:33 +0100 Subject: Handle test files correctly in Makefile. --- Makefile | 8 ++++---- luamcallbacks.dtx | 6 +++--- 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 -- cgit v1.2.3