Mercurial > docs > bib-ref2
comparison handout/makefile @ 55:5f55fcc2ee69
added the handout
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Mon, 20 Oct 2014 07:03:29 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
54:7a137e17e34d | 55:5f55fcc2ee69 |
---|---|
1 NAME = ref2-handout | |
2 CHAPS = ../style handout.roff | |
3 BIB = bib | |
4 PDFFLAGS = -sPAPERSIZE=a4 -dPDFSETTINGS=/prepress | |
5 REFER = refer -n -p $(BIB) -e -P -sLAD -a # -l,2 -k | |
6 | |
7 all: $(NAME).ps pdf | |
8 | |
9 $(NAME).ps: $(CHAPS) makefile $(BIB) | |
10 export TROFFONTS=../fonts;\ | |
11 soelim $(CHAPS) | $(REFER) | tbl | pic | \ | |
12 troff -Tps -ms 2>err.ig | dpost >$@ | |
13 | |
14 pdf: $(NAME).pdf | |
15 $(NAME).pdf: $(NAME).ps | |
16 ps2pdf $(PDFFLAGS) $(NAME).ps 2>/dev/null | |
17 | |
18 clean: | |
19 rm -f $(NAME).ps $(NAME).pdf book.ps book.pdf | |
20 rm -rf refs | |
21 rm -f *.ig |