Mercurial > docs > master
comparison makefile @ 150:472aa79f9b6f
bib: Split bib into RFCs and the rest.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Fri, 06 Jul 2012 10:13:55 +0200 |
parents | e7b5e465a8e0 |
children | ff3a6a0e6255 |
comparison
equal
deleted
inserted
replaced
149:1b80cc146932 | 150:472aa79f9b6f |
---|---|
1 NAME = thesis | 1 NAME = thesis |
2 CHAPS = style front.roff dedication.roff abstract.roff toc.roff \ | 2 CHAPS = style front.roff dedication.roff abstract.roff toc.roff \ |
3 preface.roff intro.roff discussion.roff future.roff refs.roff \ | 3 preface.roff intro.roff discussion.roff future.roff refs.roff \ |
4 official.roff colophon.roff | 4 official.roff colophon.roff |
5 PDFFLAGS = -sPAPERSIZE=a4 -dPDFSETTINGS=/prepress | 5 PDFFLAGS = -sPAPERSIZE=a4 -dPDFSETTINGS=/prepress |
6 REFER = refer -n -p bib -p rfcs -e -P -sLAD -l,2 -k | |
6 | 7 |
7 all: $(NAME).ps | 8 all: $(NAME).ps |
8 | 9 |
9 $(NAME).ps: $(CHAPS) makefile bib toc.ig | 10 $(NAME).ps: $(CHAPS) makefile bib rfcs toc.ig |
10 export TROFFONTS=fonts REFER=bib;\ | 11 export TROFFONTS=fonts;\ |
11 soelim $(CHAPS) | refer -e -P -sLAD -l,2 -k | \ | 12 soelim $(CHAPS) | $(REFER) | \ |
12 grap | pic | troff -Tps -ms 2>err.ig | dpost >$@ | 13 grap | pic | troff -Tps -ms 2>err.ig | dpost >$@ |
13 | 14 |
14 err.ig: $(CHAPS) | 15 err.ig: $(CHAPS) |
15 export TROFFONTS=fonts REFER=bib;\ | 16 export TROFFONTS=fonts;\ |
16 soelim $(CHAPS) | refer -e -P -sLAD -l,2 -k | \ | 17 soelim $(CHAPS) | $(REFER) | \ |
17 grap | pic | troff -Tps -ms -rZ1 -z 2>$@ | 18 grap | pic | troff -Tps -ms -rZ1 -z 2>$@ |
18 | 19 |
19 toc.ig: err.ig | 20 toc.ig: err.ig |
20 sed -n '/^TOC____/s///p' err.ig >$@ | 21 sed -n '/^TOC____/s///p' err.ig >$@ |
21 | 22 |