diff options
author | Karl Berry <karl@freefriends.org> | 2010-11-13 00:21:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-11-13 00:21:58 +0000 |
commit | fb507b895f0d286f263cb8e9f26f1245896a4b66 (patch) | |
tree | dddb2ebaeff730946125db4052444aed71a6a376 /Master/texmf-dist/source/lualatex/lualatex-doc/Makefile | |
parent | 182a9dd3b7f6ec99100fdc25c621c5854aed8e8f (diff) |
lualatex-doc (11nov10)
git-svn-id: svn://tug.org/texlive/trunk@20419 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/lualatex/lualatex-doc/Makefile')
-rw-r--r-- | Master/texmf-dist/source/lualatex/lualatex-doc/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/lualatex/lualatex-doc/Makefile b/Master/texmf-dist/source/lualatex/lualatex-doc/Makefile new file mode 100644 index 00000000000..7b0e90330aa --- /dev/null +++ b/Master/texmf-dist/source/lualatex/lualatex-doc/Makefile @@ -0,0 +1,46 @@ +NAME = lualatex-doc +FORMAT = lualatex + +DOC = $(NAME).pdf +SRC = $(NAME).tex +README = README +MKD = $(README).markdown + +SRCFILES = $(SRC) Makefile lltxdoc.cls +DOCFILES = $(DOC) $(README) News +ALL = $(SRCFILES) $(DOCFILES) + +GENERATED = $(DOC) $(README) + +all: lualatex-doc.pdf +world: all ctan + +.PHONY: all world + +%.pdf: %.tex + # option -pdflatex will be available in the next release + # of latexmk (4.19) + latexmk -pdf -silent -pdflatex=lualatex $< >/dev/null + +$(README): $(MKD) + @cp $(MKD) $(README) + +ctan: $(NAME).tds.zip + @zip -q $(NAME).zip $(ALL) $(NAME).tds.zip + +$(NAME).tds.zip -q: $(ALL) + @rm -rf texmf + @mkdir -p texmf/doc/$(FORMAT)/$(NAME) + @cp $(DOCFILES) texmf/doc/$(FORMAT)/$(NAME) + @mkdir -p texmf/source/$(FORMAT)/$(NAME) + @cp $(SRCFILES) texmf/source/$(FORMAT)/$(NAME) + @cd texmf && zip -q -r ../$(NAME).tds.zip . + @rm -rf texmf + +.PHONY: clean mrproper + +clean: + @latexmk -silent -c >/dev/null + +mrproper: clean + @rm -f -- $(GENERATED) $(NAME)*.zip |