diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/minted/Makefile |
Initial commit
Diffstat (limited to 'macros/latex/contrib/minted/Makefile')
-rw-r--r-- | macros/latex/contrib/minted/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/macros/latex/contrib/minted/Makefile b/macros/latex/contrib/minted/Makefile new file mode 100644 index 0000000000..ae199e79d5 --- /dev/null +++ b/macros/latex/contrib/minted/Makefile @@ -0,0 +1,38 @@ +TEXFLAGS = -e '$$pdflatex=q/pdflatex %O -shell-escape %S/' -pdf +LATEXMK = latexmk + +PACKAGE = minted.dtx \ + minted.ins \ + minted.pdf \ + README \ + Makefile + +.PHONY: minted all doc dist clean cleanall + +minted: minted.sty + +doc: minted.pdf + +all: minted doc + +minted.sty: minted.ins minted.dtx + tex minted.ins + +minted.pdf: minted.sty minted.gls minted.dtx + $(LATEXMK) $(TEXFLAGS) minted.dtx + +minted.gls: minted.glo + makeindex -s gglo.ist -o minted.gls minted.glo + +minted.glo: minted.dtx minted.sty + $(LATEXMK) $(TEXFLAGS) minted.dtx + +dist: $(PACKAGE) + @$(RM) minted.zip + @zip minted-$(shell grep '^\\ProvidesPackage' < minted.sty | grep -o '\<v[[:digit:]]*\.[[:digit:]]*\>').zip $(PACKAGE) + +clean: + @$(RM) *.aux *.log *.out *.toc *.fdb_latexmk *.ilg *.glo *.gls *.lol + +cleanall: clean + @$(RM) minted.sty minted.zip |