From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- macros/latex/contrib/dialogl/Makefile | 52 +++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 macros/latex/contrib/dialogl/Makefile (limited to 'macros/latex/contrib/dialogl/Makefile') diff --git a/macros/latex/contrib/dialogl/Makefile b/macros/latex/contrib/dialogl/Makefile new file mode 100644 index 0000000000..713542232f --- /dev/null +++ b/macros/latex/contrib/dialogl/Makefile @@ -0,0 +1,52 @@ +# Copyright 2013 TeX Users Group. +# This file is part of the dialogl package, released under the LPPL; +# see dialogl.ins for details. + +pkg = dialogl +dtx = $(pkg).dtx grabhedr.dtx listout.dtx menus.dtx +# +srcfiles = Makefile README +srcfiles += $(pkg).ins $(dtx) +srcfiles += cnvunits.tex dia-driv.tex +srcfiles += dialogl-doc.sty +srcfiles += fontmenu.tex fontmenu.lg # doc +srcfiles += diatest.tex +derivedfiles = + +opt = --interaction=nonstopmode --file-line-error +latex = latex $(opt) +pdflatex = pdflatex $(opt) +# +%.pdf: %.tex + $(pdflatex) $< + $(pdflatex) $< + +default: all +all: dist + +derivedfiles += default.los +default.los: dialogl.dtx + +derivedfiles += codialog.pdf +codialog.pdf: codialog.tex + echo P | pdflatex $< + echo P | pdflatex $< + +derivedfiles += dia-driv.pdf +dia-driv.pdf: dialogl-doc.sty + +# doesn't really depend on dialog.sty for running, but we want to make +# sure the .ins works. +dia-driv.pdf: dialog.sty +dialog.sty grabhedr.sty listout.tex menus.sty: $(pkg).ins $(dtx) + yes | head -100 | latex $< +# \askforoverwritefalse seemingly has no effect. + +dist: $(pkg).zip +$(pkg).zip: manifest.txt $(srcfiles) $(derivedfiles) + chmod a+rw $^ + rm -f $@; zip $@ $^ + +manifest.txt: $(srcfiles) + chmod a+rw $^ + echo $@ $^ | tr ' ' '\n' >$@ -- cgit v1.2.3