Mercurial > docs > master
comparison makefile @ 184:1d28ed59de8a
Added appendix ``tools of mmh''
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Wed, 11 Jul 2012 11:04:43 +0200 |
parents | 25d05add0d97 |
children | 05a243dffaca |
comparison
equal
deleted
inserted
replaced
183:4c5055a0e981 | 184:1d28ed59de8a |
---|---|
1 NAME = thesis | 1 NAME = thesis |
2 CHAPS = style front.roff dedication.roff toc.roff \ | 2 CHAPS = style front.roff dedication.roff toc.roff \ |
3 preface.roff intro.roff discussion.roff summary.roff refs.roff \ | 3 preface.roff intro.roff discussion.roff summary.roff tools.roff \ |
4 official.roff colophon.roff | 4 refs.roff 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 REFER = refer -n -p bib -p rfcs -e -P -sLAD -l,2 -k |
7 | 7 |
8 all: $(NAME).ps | 8 all: $(NAME).ps |
9 | 9 |
10 $(NAME).ps: $(CHAPS) makefile bib rfcs toc.ig refs.ig | 10 $(NAME).ps: $(CHAPS) makefile bib rfcs toc.ig refs.ig |
11 export TROFFONTS=fonts;\ | 11 export TROFFONTS=fonts;\ |
12 soelim $(CHAPS) | $(REFER) | \ | 12 soelim $(CHAPS) | $(REFER) | \ |
13 grap | pic | troff -Tps -ms 2>err.ig | dpost >$@ | 13 tbl | grap | pic | troff -Tps -ms 2>err.ig | dpost >$@ |
14 | 14 |
15 err.ig: $(CHAPS) | 15 err.ig: $(CHAPS) |
16 export TROFFONTS=fonts;\ | 16 export TROFFONTS=fonts;\ |
17 soelim $(CHAPS) | $(REFER) | \ | 17 soelim $(CHAPS) | $(REFER) | \ |
18 grap | pic | troff -Tps -ms -rZ1 -z 2>$@ | 18 tbl | grap | pic | troff -Tps -ms -rZ1 -z 2>$@ |
19 | 19 |
20 toc.ig: err.ig | 20 toc.ig: err.ig |
21 sed -n '/^TOC____/s///p' err.ig >$@ | 21 sed -n '/^TOC____/s///p' err.ig >$@ |
22 | 22 |
23 refs.ig: err.ig | 23 refs.ig: err.ig |