annotate handout/makefile @ 70:d5d894baa3ed default tip

pb: Added the latex version for Perspektive Bibliothek This content was created between 2014-04-12 and 2014-05-12.
author markus schnalke <meillo@marmaro.de>
date Mon, 20 Oct 2014 07:43:31 +0200
parents 38cfbe3ed6ab
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
68
38cfbe3ed6ab added the handout (... already weeks old)
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
1 NAME = ref1-handout
38cfbe3ed6ab added the handout (... already weeks old)
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
2 CHAPS = ../style handout.roff
38cfbe3ed6ab added the handout (... already weeks old)
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
3 BIB = bib
38cfbe3ed6ab added the handout (... already weeks old)
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
4 PDFFLAGS = -sPAPERSIZE=a4 -dPDFSETTINGS=/prepress
38cfbe3ed6ab added the handout (... already weeks old)
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
5 REFER = refer -n -p $(BIB) -e -P -sLAD -a # -l,2 -k
38cfbe3ed6ab added the handout (... already weeks old)
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
6
38cfbe3ed6ab added the handout (... already weeks old)
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
7 all: $(NAME).ps
38cfbe3ed6ab added the handout (... already weeks old)
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
8
38cfbe3ed6ab added the handout (... already weeks old)
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
9 $(NAME).ps: $(CHAPS) makefile $(BIB)
38cfbe3ed6ab added the handout (... already weeks old)
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
10 export TROFFONTS=../fonts;\
38cfbe3ed6ab added the handout (... already weeks old)
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
11 soelim $(CHAPS) | $(REFER) | \
38cfbe3ed6ab added the handout (... already weeks old)
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
12 troff -Tps -ms 2>err.ig | dpost >$@
38cfbe3ed6ab added the handout (... already weeks old)
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
13
38cfbe3ed6ab added the handout (... already weeks old)
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
14 pdf: $(NAME).pdf
38cfbe3ed6ab added the handout (... already weeks old)
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
15 $(NAME).pdf: $(NAME).ps
38cfbe3ed6ab added the handout (... already weeks old)
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
16 ps2pdf $(PDFFLAGS) $(NAME).ps 2>/dev/null
38cfbe3ed6ab added the handout (... already weeks old)
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
17
38cfbe3ed6ab added the handout (... already weeks old)
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
18 clean:
38cfbe3ed6ab added the handout (... already weeks old)
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
19 rm -f $(NAME).ps $(NAME).pdf book.ps book.pdf
38cfbe3ed6ab added the handout (... already weeks old)
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
20 rm -rf refs
38cfbe3ed6ab added the handout (... already weeks old)
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
21 rm -f *.ig