1 |
commit: ce5724914c352662a38d70166e46aeba78dbbd13 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 26 20:05:06 2017 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 26 20:05:06 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=ce572491 |
7 |
|
8 |
Makefile: Join eapi-cheatsheet.pdf with pms.pdf target. |
9 |
|
10 |
Makefile | 23 ++++++++++------------- |
11 |
1 file changed, 10 insertions(+), 13 deletions(-) |
12 |
|
13 |
diff --git a/Makefile b/Makefile |
14 |
index ef9991b..d10a65a 100644 |
15 |
--- a/Makefile |
16 |
+++ b/Makefile |
17 |
@@ -10,7 +10,7 @@ all: pms.pdf |
18 |
|
19 |
html: pms.html |
20 |
|
21 |
-pms.pdf: $(LATEXFILES) pms.bbl vc.tex |
22 |
+pms.pdf eapi-cheatsheet.pdf: $(LATEXFILES) pms.bbl vc.tex |
23 |
$(aux-clean) |
24 |
set -e; \ |
25 |
while true; do \ |
26 |
@@ -23,6 +23,15 @@ pms.pdf: $(LATEXFILES) pms.bbl vc.tex |
27 |
grep -q 'Warning.*Rerun' eapi-cheatsheet.log pms.log || break; \ |
28 |
done |
29 |
|
30 |
+eapi-cheatsheet-nocombine.pdf: pms.pdf |
31 |
+ @# cheat sheet with separate pages, for proofreading |
32 |
+ set -e; \ |
33 |
+ while true; do \ |
34 |
+ pdflatex -jobname eapi-cheatsheet-nocombine \ |
35 |
+ '\PassOptionsToClass{nocombine}{leaflet}\input{eapi-cheatsheet}'; \ |
36 |
+ grep -q 'Warning.*Rerun' eapi-cheatsheet-nocombine.log || break; \ |
37 |
+ done |
38 |
+ |
39 |
pms.dvi: $(LATEXFILES) pms.bbl vc.tex |
40 |
$(aux-clean) |
41 |
set -e; \ |
42 |
@@ -57,18 +66,6 @@ pms.bbl: pms.bib $(LATEXFILES) vc.tex |
43 |
vc.tex: $(SOURCES) |
44 |
/bin/sh ./vc -m |
45 |
|
46 |
-eapi-cheatsheet.pdf: pms.pdf |
47 |
- @# nothing to do here, since this is also part of the main document |
48 |
- |
49 |
-eapi-cheatsheet-nocombine.pdf: pms.pdf |
50 |
- @# cheat sheet with separate pages, for proofreading |
51 |
- set -e; \ |
52 |
- while true; do \ |
53 |
- pdflatex -jobname eapi-cheatsheet-nocombine \ |
54 |
- '\PassOptionsToClass{nocombine}{leaflet}\input{eapi-cheatsheet}'; \ |
55 |
- grep -q 'Warning.*Rerun' eapi-cheatsheet-nocombine.log || break; \ |
56 |
- done |
57 |
- |
58 |
dist: $(SOURCES) vc.tex pms.pdf pms.html |
59 |
PV='$(PV)'; \ |
60 |
if test -z "$${PV}"; then \ |