comparison makefile @ 21:3867f0a65d91

makefile: include decl.roff; build pdf by default
author markus schnalke <meillo@marmaro.de>
date Mon, 03 Mar 2014 14:25:42 +0100
parents 8578a6d4ed94
children 0ad432eaeb71
comparison
equal deleted inserted replaced
20:11ebc8bd3a3e 21:3867f0a65d91
1 NAME = ref2 1 NAME = ref2
2 CHAPS = style front.roff toc.roff text.roff refs.roff cc0.roff #decl.roff 2 CHAPS = style front.roff toc.roff text.roff refs.roff cc0.roff decl.roff
3 BIB = bib 3 BIB = bib
4 PDFFLAGS = -sPAPERSIZE=a4 -dPDFSETTINGS=/prepress 4 PDFFLAGS = -sPAPERSIZE=a4 -dPDFSETTINGS=/prepress
5 REFER = refer -n -p bib -e -P -sLAD -a # -l,2 -k 5 REFER = refer -n -p bib -e -P -sLAD -a # -l,2 -k
6 6
7 all: $(NAME).ps 7 all: pdf
8 8
9 $(NAME).ps: $(CHAPS) makefile $(BIB) toc.ig refs.ig 9 $(NAME).ps: $(CHAPS) makefile $(BIB) toc.ig refs.ig
10 export TROFFONTS=fonts;\ 10 export TROFFONTS=fonts;\
11 soelim $(CHAPS) | $(REFER) | pic | \ 11 soelim $(CHAPS) | $(REFER) | pic | \
12 troff -Tps -ms 2>err.ig | dpost >$@ 12 troff -Tps -ms 2>err.ig | dpost >$@