annotate makefile @ 55:89e7a32d1f10

bib: Added yet missing refs.
author markus schnalke <meillo@marmaro.de>
date Sun, 20 May 2012 21:46:00 +0200
parents 3e70450336a4
children f3c95ee96cc4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
1 NAME = thesis
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
2 CHAPS = style front.roff dedication.roff abstract.roff preface.roff \
33
3e70450336a4 refer: Added refer; the bib contains various entries already.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
3 ch*.roff refs.roff toc.roff
0
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
4 PDFFLAGS = -sPAPERSIZE=a4 -dPDFSETTINGS=/prepress
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
5
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
6 all: $(NAME).ps
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
7
33
3e70450336a4 refer: Added refer; the bib contains various entries already.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
8 $(NAME).ps: $(CHAPS) makefile bib
3e70450336a4 refer: Added refer; the bib contains various entries already.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
9 export TROFFONTS=fonts REFER=bib;\
3e70450336a4 refer: Added refer; the bib contains various entries already.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
10 cat $(CHAPS) | refer -e -P -sLAD -l,2 -k | troff -Tps -ms | dpost >$@
0
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
11
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
12 pdf: $(NAME).pdf
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
13 $(NAME).pdf: $(NAME).ps
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
14 ps2pdf $(PDFFLAGS) $(NAME).ps
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
15
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
16 book: book.pdf
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
17 book.pdf: book.ps
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
18 ps2pdf $(PDFFLAGS) book.ps
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
19 book.ps: $(NAME).ps
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
20 psbook -s16 $(NAME).ps | psnup -2 -m2mm >$@
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
21
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
22 clean:
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
23 rm -f $(NAME).ps $(NAME).pdf book.ps book.pdf
33
3e70450336a4 refer: Added refer; the bib contains various entries already.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
24 rm -f bib.ig