summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/luatex/luamplib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/luatex/luamplib/Makefile')
-rw-r--r--Master/texmf-dist/source/luatex/luamplib/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/luatex/luamplib/Makefile b/Master/texmf-dist/source/luatex/luamplib/Makefile
index d437acb7405..cf17c9cfb8d 100644
--- a/Master/texmf-dist/source/luatex/luamplib/Makefile
+++ b/Master/texmf-dist/source/luatex/luamplib/Makefile
@@ -36,7 +36,7 @@ world: all ctan
.PHONY: all doc unpack ctan tds check world
%.pdf: %.dtx
- latexmk -pdf -e '$$pdflatex = q(lualatex %O %S)' -silent $< >/dev/null
+ latexmk -lualatex -recorder- -silent $< >/dev/null
$(UNPACKED): $(DTX)
tex -interaction=batchmode $< >/dev/null
@@ -50,7 +50,10 @@ check: $(UNPACKED)
$(CTAN_ZIP): $(SOURCES) $(DOC) $(TDS_ZIP)
@echo "Making $@ for CTAN upload."
@$(RM) -- $@
- @zip -9 $@ $^ >/dev/null
+ @mkdir -p $(NAME)
+ @cp -f $(SOURCES) $(DOC) $(NAME)
+ @zip -9 -r $@ $(TDS_ZIP) $(NAME) >/dev/null
+ @rm -rf $(NAME)
define run-install
@mkdir -p $(RUNDIR) && cp $(RUNFILES) $(RUNDIR)