diff options
author | Karl Berry <karl@freefriends.org> | 2009-09-26 23:23:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-09-26 23:23:37 +0000 |
commit | be069a8171e0e5028a8893ee64753dd07b4f1180 (patch) | |
tree | 637af89dff9e6ff0c218a813b7cbbef5e7d13347 /Master/texmf-dist/source/luatex/luatextra/Makefile | |
parent | 4e17af35bf2cf25beac93a51cfe56c026cf72eb0 (diff) |
luatextra 0.94 update (26sep09)
git-svn-id: svn://tug.org/texlive/trunk@15473 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/luatex/luatextra/Makefile')
-rw-r--r-- | Master/texmf-dist/source/luatex/luatextra/Makefile | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/luatex/luatextra/Makefile b/Master/texmf-dist/source/luatex/luatextra/Makefile index 771b5085219..766e9756e20 100644 --- a/Master/texmf-dist/source/luatex/luatextra/Makefile +++ b/Master/texmf-dist/source/luatex/luatextra/Makefile @@ -12,7 +12,8 @@ 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) -GENERATED = $(UNPACKED) $(COMPILED) +# $(DOC_TEX) has a compiled version in the repository +GENERATED = $(UNPACKED) $(DOC_DTX) SOURCE = $(DTX) $(SRC_TEX) README Makefile # Files grouped by installation location @@ -22,14 +23,14 @@ SRCFILES = $(DTX) $(SRC_TEX) Makefile # The following definitions should be equivalent # ALL_FILES = $(RUNFILES) $(DOCFILES) $(SRCFILES) -ALL_FILES = $(GENERATED) $(SOURCE) +ALL_FILES = $(GENERATED) $(SOURCE) $(DOC_TEX) # Installation locations FORMAT = luatex -RUNDIR = $(TEXMF)/tex/$(FORMAT)/$(NAME) -DOCDIR = $(TEXMF)/doc/$(FORMAT)/$(NAME) -SRCDIR = $(TEXMF)/source/$(FORMAT)/$(NAME) -TEXMF = ./texmf +RUNDIR = $(TEXMFROOT)/tex/$(FORMAT)/$(NAME) +DOCDIR = $(TEXMFROOT)/doc/$(FORMAT)/$(NAME) +SRCDIR = $(TEXMFROOT)/source/$(FORMAT)/$(NAME) +TEXMFROOT = ./texmf CTAN_ZIP = $(NAME).zip TDS_ZIP = $(NAME).tds.zip @@ -40,7 +41,7 @@ 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 -all: $(GENERATED) +all: $(GENERATED) $(DOC_TEX) doc: $(COMPILED) unpack: $(UNPACKED) ctan: $(CTAN_ZIP) @@ -78,18 +79,18 @@ define run-install @mkdir -p $(SRCDIR) && cp $(SRCFILES) $(SRCDIR) endef -$(TDS_ZIP): TEXMF=./tmp-texmf +$(TDS_ZIP): TEXMFROOT=./tmp-texmf $(TDS_ZIP): $(ALL_FILES) @echo "Making TDS-ready archive $@." @$(RM) -- $@ $(run-install) - @cd $(TEXMF) && zip -9 ../$@ -r . >/dev/null - @$(RM) -r -- $(TEXMF) + @cd $(TEXMFROOT) && zip -9 ../$@ -r . >/dev/null + @$(RM) -r -- $(TEXMFROOT) .PHONY: install manifest clean mrproper install: $(ALL_FILES) - @echo "Installing in '$(TEXMF)'." + @echo "Installing in '$(TEXMFROOT)'." $(run-install) manifest: |