summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pgf/version-for-pdftex/en/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/version-for-pdftex/en/Makefile')
-rw-r--r--Master/texmf-dist/doc/generic/pgf/version-for-pdftex/en/Makefile18
1 files changed, 5 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/version-for-pdftex/en/Makefile b/Master/texmf-dist/doc/generic/pgf/version-for-pdftex/en/Makefile
index 7644b304303..413c8972cc0 100644
--- a/Master/texmf-dist/doc/generic/pgf/version-for-pdftex/en/Makefile
+++ b/Master/texmf-dist/doc/generic/pgf/version-for-pdftex/en/Makefile
@@ -5,21 +5,13 @@ TEXINPUTS := ../../text-en:../../images:$(TEXINPUTS)
all: $(doc).pdf
-dist: FORCE revisionfile
- $(latex) --jobname=pgfmanual '\def\pgfautoxrefs{1}\pdfminorversion=5 \pdfobjcompresslevel=2 \input{$(doc)}'
- makeindex $(doc).idx
- @echo "$(doc).pdf remade with auto-xref support. Check if auto-xrefs work and rerun make dist if not."
-
-pgfmanual.idx:
- touch pgfmanual.idx
-
-pgfmanual.ind: pgfmanual.idx
- makeindex $(doc).idx
-
-pgfmanual.pdf: $(doc).tex $(doc).ind revisionfile
+pgfmanual.pdf: $(doc).tex revisionfile
TEXINPUTS="$(TEXINPUTS)" $(latex) $(doc).tex
(egrep -q $(rerun) $(doc).log && TEXINPUTS="$(TEXINPUTS)" $(latex) $(doc).tex) || true
- @echo "Use 'make dist' to generate auto-xrefs."
+
+test: $(doc)-test.tex revisionfile
+ TEXINPUTS="$(TEXINPUTS)" $(latex) $(doc)-test.tex
+ (egrep -q $(rerun) $(doc).log && TEXINPUTS="$(TEXINPUTS)" $(latex) $(doc)-test.tex) || true
revisionfile:
cd ../../../../.. && ./scripts/pgf/pgfrevisionfile.sh