annotate handout/makefile @ 58:b424a623d2be

hgignore: minor cleanups
author markus schnalke <meillo@marmaro.de>
date Mon, 20 Oct 2014 07:20:18 +0200
parents 5f55fcc2ee69
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
55
5f55fcc2ee69 added the handout
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
1 NAME = ref2-handout
5f55fcc2ee69 added the handout
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
2 CHAPS = ../style handout.roff
5f55fcc2ee69 added the handout
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
3 BIB = bib
5f55fcc2ee69 added the handout
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
4 PDFFLAGS = -sPAPERSIZE=a4 -dPDFSETTINGS=/prepress
5f55fcc2ee69 added the handout
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
5 REFER = refer -n -p $(BIB) -e -P -sLAD -a # -l,2 -k
5f55fcc2ee69 added the handout
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
6
5f55fcc2ee69 added the handout
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
7 all: $(NAME).ps pdf
5f55fcc2ee69 added the handout
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
8
5f55fcc2ee69 added the handout
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
9 $(NAME).ps: $(CHAPS) makefile $(BIB)
5f55fcc2ee69 added the handout
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
10 export TROFFONTS=../fonts;\
5f55fcc2ee69 added the handout
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
11 soelim $(CHAPS) | $(REFER) | tbl | pic | \
5f55fcc2ee69 added the handout
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
12 troff -Tps -ms 2>err.ig | dpost >$@
5f55fcc2ee69 added the handout
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
13
5f55fcc2ee69 added the handout
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
14 pdf: $(NAME).pdf
5f55fcc2ee69 added the handout
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
15 $(NAME).pdf: $(NAME).ps
5f55fcc2ee69 added the handout
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
16 ps2pdf $(PDFFLAGS) $(NAME).ps 2>/dev/null
5f55fcc2ee69 added the handout
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
17
5f55fcc2ee69 added the handout
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
18 clean:
5f55fcc2ee69 added the handout
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
19 rm -f $(NAME).ps $(NAME).pdf book.ps book.pdf
5f55fcc2ee69 added the handout
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
20 rm -rf refs
5f55fcc2ee69 added the handout
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
21 rm -f *.ig