diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pgfplots/gallery/Makefile')
-rw-r--r-- | Master/texmf-dist/doc/latex/pgfplots/gallery/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/pgfplots/gallery/Makefile b/Master/texmf-dist/doc/latex/pgfplots/gallery/Makefile index 27896014114..ce9eb1600c5 100644 --- a/Master/texmf-dist/doc/latex/pgfplots/gallery/Makefile +++ b/Master/texmf-dist/doc/latex/pgfplots/gallery/Makefile @@ -4,6 +4,7 @@ # REQUIREMENTS: # make sure TEXINPUTS contains the doc/latex/pgfplots/ tree recursively. +# FIXME : this leads to strange sequences... sort correctly! DOC_SRC=$(wildcard ../pgfplots.*.tex) ../pgfplotstable.tex # DOC_SRC:=../pgfplotstable.tex @@ -16,11 +17,11 @@ all: prepare $(MAKE) images prepare: $(DOC_SRC) - ./extractexamples.pl ./example ./index.html $(DOC_SRC) + ./extractexamples.pl ./example ./gallery.html $(DOC_SRC) touch $@ clean: - rm -f ./example* prepare index.html + rm -f ./example* prepare gallery.html prepared: $(PREPARED_SRC:%.tex=%.pdf) @@ -34,6 +35,6 @@ images: $(PREPARED_SRC:%.tex=%.png) # %.pdf: %.tex %.pdf: - export TEXINPUTS="$(TEXINPUTS)..:../figures:" && pdflatex -interaction batchmode -halt-on-error -shell-escape $(@:.pdf=) 2>/dev/null 1>/dev/null + export TEXINPUTS="$(TEXINPUTS):..:../figures:" && lualatex -interaction batchmode -halt-on-error -shell-escape $(@:.pdf=) 2>/dev/null 1>/dev/null pdfcrop $@ $@ 2>/dev/null 1>/dev/null @rm $(@:.pdf=.log) $(@:.pdf=.aux) |