summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/luatex/lualibs/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-05-05 22:52:10 +0000
committerKarl Berry <karl@freefriends.org>2013-05-05 22:52:10 +0000
commit5f9dd2add16775cc6aece96e2695c7e475ee1834 (patch)
treefba8f32362b01a41db0125ab430fd1962b290b4f /Master/texmf-dist/source/luatex/lualibs/Makefile
parentc275a5f0b045f10e93c6a557f2499f3cf7709efc (diff)
lualibs (5may13)
git-svn-id: svn://tug.org/texlive/trunk@30238 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/luatex/lualibs/Makefile')
-rw-r--r--Master/texmf-dist/source/luatex/lualibs/Makefile24
1 files changed, 15 insertions, 9 deletions
diff --git a/Master/texmf-dist/source/luatex/lualibs/Makefile b/Master/texmf-dist/source/luatex/lualibs/Makefile
index 6d7673b9fa7..a3d2e228696 100644
--- a/Master/texmf-dist/source/luatex/lualibs/Makefile
+++ b/Master/texmf-dist/source/luatex/lualibs/Makefile
@@ -8,17 +8,18 @@ MODULES = $(wildcard lualibs-*.lua)
# Files grouped by generation mode
UNPACKED= lualibs.lua
COMPILED = $(DOC_DTX)
-GENERATED = $(UNPACKED) $(DOC_DTX)
-SOURCE = $(DTX) $(MODULES) README Makefile NEWS
+GENERATED = $(UNPACKED) $(DOC_DTX) $(MERGED)
+SOURCE = $(DTX) $(MODULES) LICENSE README Makefile NEWS
+MERGED = lualibs-basic-merged.lua lualibs-extended-merged.lua
# Files grouped by installation location
RUNFILES = $(UNPACKED) $(MODULES)
-DOCFILES = $(DOC_DTX) README NEWS
+DOCFILES = $(DOC_DTX) LICENSE README NEWS
SRCFILES = $(DTX) $(SRC_TEX) Makefile
# The following definitions should be equivalent
# ALL_FILES = $(RUNFILES) $(DOCFILES) $(SRCFILES)
-ALL_FILES = $(GENERATED) $(SOURCE)
+ALL_FILES = $(GENERATED) $(SOURCE) $(MERGED)
# Installation locations
FORMAT = luatex
@@ -31,17 +32,18 @@ CTAN_ZIP = $(NAME).zip
TDS_ZIP = $(NAME).tds.zip
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_MAKEINDEX = makeindex -s gind.ist $(subst .dtx,,$<) >/dev/null 2>&1
+DO_TEX = luatex --interaction=batchmode $< >/dev/null
+DO_PDFLATEX = lualatex --interaction=batchmode $< >/dev/null
+DO_MAKEINDEX = makeindex -s gind.ist $(subst .dtx,,$<) >/dev/null 2>&1
+DO_PACKAGE = mtxrun --script package --merge $< >/dev/null
-all: $(GENERATED) $(DOC_TEX)
+all: $(GENERATED) $(DOC_TEX) $(MERGED)
doc: $(COMPILED)
unpack: $(UNPACKED)
ctan: $(CTAN_ZIP)
tds: $(TDS_ZIP)
world: all ctan
+
.PHONY: all doc unpack ctan tds world
%.pdf: %.dtx
@@ -50,6 +52,9 @@ world: all ctan
$(DO_PDFLATEX)
$(DO_PDFLATEX)
+%-merged.lua: %.lua
+ $(DO_PACKAGE)
+
$(UNPACKED): lualibs.dtx
$(DO_TEX)
@@ -91,3 +96,4 @@ clean:
mrproper: clean
@$(RM) -- $(GENERATED) $(ZIPS)
+merge: $(MERGED)