commit:     ce5724914c352662a38d70166e46aeba78dbbd13
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 26 20:05:06 2017 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Aug 26 20:05:06 2017 +0000
URL:        https://gitweb.gentoo.org/proj/pms.git/commit/?id=ce572491

Makefile: Join eapi-cheatsheet.pdf with pms.pdf target.

 Makefile | 23 ++++++++++-------------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/Makefile b/Makefile
index ef9991b..d10a65a 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ all: pms.pdf
 
 html: pms.html
 
-pms.pdf: $(LATEXFILES) pms.bbl vc.tex
+pms.pdf eapi-cheatsheet.pdf: $(LATEXFILES) pms.bbl vc.tex
        $(aux-clean)
        set -e; \
        while true; do \
@@ -23,6 +23,15 @@ pms.pdf: $(LATEXFILES) pms.bbl vc.tex
          grep -q 'Warning.*Rerun' eapi-cheatsheet.log pms.log || break; \
        done
 
+eapi-cheatsheet-nocombine.pdf: pms.pdf
+       @# cheat sheet with separate pages, for proofreading
+       set -e; \
+       while true; do \
+         pdflatex -jobname eapi-cheatsheet-nocombine \
+           '\PassOptionsToClass{nocombine}{leaflet}\input{eapi-cheatsheet}'; \
+         grep -q 'Warning.*Rerun' eapi-cheatsheet-nocombine.log || break; \
+       done
+
 pms.dvi: $(LATEXFILES) pms.bbl vc.tex
        $(aux-clean)
        set -e; \
@@ -57,18 +66,6 @@ pms.bbl: pms.bib $(LATEXFILES) vc.tex
 vc.tex: $(SOURCES)
        /bin/sh ./vc -m
 
-eapi-cheatsheet.pdf: pms.pdf
-       @# nothing to do here, since this is also part of the main document
-
-eapi-cheatsheet-nocombine.pdf: pms.pdf
-       @# cheat sheet with separate pages, for proofreading
-       set -e; \
-       while true; do \
-         pdflatex -jobname eapi-cheatsheet-nocombine \
-           '\PassOptionsToClass{nocombine}{leaflet}\input{eapi-cheatsheet}'; \
-         grep -q 'Warning.*Rerun' eapi-cheatsheet-nocombine.log || break; \
-       done
-
 dist: $(SOURCES) vc.tex pms.pdf pms.html
        PV='$(PV)'; \
        if test -z "$${PV}"; then \

Reply via email to