summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/luatex/luatextra/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/luatex/luatextra/Makefile')
-rw-r--r--Master/texmf-dist/source/luatex/luatextra/Makefile26
1 files changed, 9 insertions, 17 deletions
diff --git a/Master/texmf-dist/source/luatex/luatextra/Makefile b/Master/texmf-dist/source/luatex/luatextra/Makefile
index 766e9756e20..50656034230 100644
--- a/Master/texmf-dist/source/luatex/luatextra/Makefile
+++ b/Master/texmf-dist/source/luatex/luatextra/Makefile
@@ -7,18 +7,15 @@ SRC_TEX = luatextra-reference.tex
DOC_TEX = $(patsubst %.tex, %.pdf, $(SRC_TEX))
# Files grouped by generation mode
-UNPACKED_EXTRA = luaextra.lua
-UNPACKED_MCB = luamcallbacks-test.tex luamcallbacks.lua
-UNPACKED_TEXTRA = luatextra-latex.tex luatextra.lua luatextra.sty
-UNPACKED = $(UNPACKED_EXTRA) $(UNPACKED_MCB) $(UNPACKED_TEXTRA)
-COMPILED = $(DOC_DTX) $(DOC_TEX)
+UNPACKED= luatextra-latex.tex luatextra.lua luatextra.sty
+COMPILED = $(DOC_DTX) $(DOC_TEX)
# $(DOC_TEX) has a compiled version in the repository
GENERATED = $(UNPACKED) $(DOC_DTX)
-SOURCE = $(DTX) $(SRC_TEX) README Makefile
+SOURCE = $(DTX) $(SRC_TEX) README Makefile News
# Files grouped by installation location
-RUNFILES = $(UNPACKED_EXTRA) $(UNPACKED_TEXTRA) luamcallbacks.lua
-DOCFILES = $(DOC_DTX) $(DOC_TEX) README luamcallbacks-test.tex
+RUNFILES = $(UNPACKED)
+DOCFILES = $(DOC_DTX) $(DOC_TEX) README News
SRCFILES = $(DTX) $(SRC_TEX) Makefile
# The following definitions should be equivalent
@@ -38,7 +35,7 @@ ZIPS = $(CTAN_ZIP) $(TDS_ZIP)
DO_TEX = tex --interaction=batchmode $< >/dev/null
DO_PDFLATEX = pdflatex --interaction=batchmode $< >/dev/null
-DO_PDFLUALATEX = pdflualatex --interaction=batchmode $< >/dev/null
+DO_PDFLUALATEX = lualatex --interaction=batchmode $< >/dev/null
DO_MAKEINDEX = makeindex -s gind.ist $(subst .dtx,,$<) >/dev/null 2>&1
all: $(GENERATED) $(DOC_TEX)
@@ -47,6 +44,7 @@ unpack: $(UNPACKED)
ctan: $(CTAN_ZIP)
tds: $(TDS_ZIP)
world: all ctan
+.PHONY: all doc unpack ctan tds world
%.pdf: %.dtx
$(DO_PDFLATEX)
@@ -59,13 +57,7 @@ $(DOC_TEX): $(SRC_TEX)
$(DO_PDFLUALATEX)
$(DO_PDFLUALATEX)
-$(UNPACKED_TEXTRA): luatextra.dtx
- $(DO_TEX)
-
-$(UNPACKED_EXTRA): luaextra.dtx
- $(DO_TEX)
-
-$(UNPACKED_MCB): luamcallbacks.dtx
+$(UNPACKED): luatextra.dtx
$(DO_TEX)
$(CTAN_ZIP): $(SOURCE) $(COMPILED) $(TDS_ZIP)
@@ -101,7 +93,7 @@ manifest:
@for f in $(GENERATED); do echo $$f; done
clean:
- @$(RM) -- *.log *.aux *.toc *.idx *.ind *.ilg
+ @$(RM) -- *.log *.aux *.toc *.idx *.ind *.ilg *.out
mrproper: clean
@$(RM) -- $(GENERATED) $(ZIPS)