From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- .../pgf/base/doc/version-for-dvipdfmx/en/Makefile | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 graphics/pgf/base/doc/version-for-dvipdfmx/en/Makefile (limited to 'graphics/pgf/base/doc/version-for-dvipdfmx/en/Makefile') diff --git a/graphics/pgf/base/doc/version-for-dvipdfmx/en/Makefile b/graphics/pgf/base/doc/version-for-dvipdfmx/en/Makefile new file mode 100644 index 0000000000..2e5e701be1 --- /dev/null +++ b/graphics/pgf/base/doc/version-for-dvipdfmx/en/Makefile @@ -0,0 +1,37 @@ +rerun = "(There were undefined references|Rerun to get (cross-references|the bars) right)" +doc = pgfmanual +latex = latex -shell-escape +TEXINPUTS := ../../text-en:$(TEXINPUTS) + +all: $(doc).pdf revisionfile + +pgfmanual.pdf: $(doc).tex revisionfile + mkdir -p plots + (TEXINPUTS="$(TEXINPUTS)" $(latex) $(doc).tex) || true + (egrep -q $(rerun) $(doc).log && TEXINPUTS="$(TEXINPUTS)" $(latex) $(doc).tex) || true + dvipdfmx -p a4 $(doc) + +test: $(doc)-test.tex revisionfile + mkdir -p plots + TEXINPUTS="$(TEXINPUTS)" $(latex) $(doc)-test.tex + (egrep -q $(rerun) $(doc).log && TEXINPUTS="$(TEXINPUTS)" $(latex) $(doc)-test.tex) || true + dvipdfmx -p a4 $(doc)-test + +revisionfile: + cd ../../../../.. && ./scripts/pgf/pgfrevisionfile.sh + +clean: + rm -f \ + plots/* \ + pgfmanual.out \ + pgfmanual.log \ + pgfmanual.idx \ + pgfmanual.ind \ + pgfmanual.ilg \ + pgfmanual.pdf \ + pgfmanual.toc \ + pgfmanual.bbl \ + pgfmanual.blg \ + pgfmanual.ps \ + pgfmanual.dvi \ + pgfmanual*.aux -- cgit v1.2.3