diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/lualatex-doc/Makefile')
-rw-r--r-- | Master/texmf-dist/doc/latex/lualatex-doc/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/lualatex-doc/Makefile b/Master/texmf-dist/doc/latex/lualatex-doc/Makefile new file mode 100644 index 00000000000..ef7bf31f03f --- /dev/null +++ b/Master/texmf-dist/doc/latex/lualatex-doc/Makefile @@ -0,0 +1,41 @@ +NAME = lualatex-doc +DOC = $(NAME).pdf +SRC = $(NAME).tex +README = README +MKD = $(README).markdown + +ALLSRC = $(SRC) Makefile lltxdoc.cls +ALLGEN = $(DOC) $(README) +ALL = $(ALLGEN) $(ALLSRC) +FORMAT = lualatex + +all: lualatex-doc.pdf +world: all ctan + +.PHONY: all world + +%.pdf: %.tex + latexmk -silent -pdflatex=lualatex $< >/dev/null + +$(README): $(MKD) + @cp $(MKD) $(README) + +ctan: $(NAME).tds.zip -q + @zip -q $(NAME).zip $(ALL) $(NAME).tds.zip + +$(NAME).tds.zip -q: $(ALLGEN) $(ALLSRC) + @rm -rf texmf + @mkdir -p texmf/doc/$(FORMAT) + @cp $(ALLGEN) texmf/doc/$(FORMAT) + @mkdir -p texmf/source/$(FORMAT) + @cp $(ALLSRC) texmf/source/$(FORMAT) + @cd texmf && zip -q -r ../$(NAME).tds.zip . + @rm -rf texmf + +.PHONY: clean mrproper + +clean: + @latexmk -silent -c >/dev/null + +mrproper: clean + @rm -f -- $(ALLGEN) $(NAME)*.zip |