docs/bib-ref2
diff handout/makefile @ 55:5f55fcc2ee69
added the handout
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Mon, 20 Oct 2014 07:03:29 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/handout/makefile Mon Oct 20 07:03:29 2014 +0200 1.3 @@ -0,0 +1,21 @@ 1.4 +NAME = ref2-handout 1.5 +CHAPS = ../style handout.roff 1.6 +BIB = bib 1.7 +PDFFLAGS = -sPAPERSIZE=a4 -dPDFSETTINGS=/prepress 1.8 +REFER = refer -n -p $(BIB) -e -P -sLAD -a # -l,2 -k 1.9 + 1.10 +all: $(NAME).ps pdf 1.11 + 1.12 +$(NAME).ps: $(CHAPS) makefile $(BIB) 1.13 + export TROFFONTS=../fonts;\ 1.14 + soelim $(CHAPS) | $(REFER) | tbl | pic | \ 1.15 + troff -Tps -ms 2>err.ig | dpost >$@ 1.16 + 1.17 +pdf: $(NAME).pdf 1.18 +$(NAME).pdf: $(NAME).ps 1.19 + ps2pdf $(PDFFLAGS) $(NAME).ps 2>/dev/null 1.20 + 1.21 +clean: 1.22 + rm -f $(NAME).ps $(NAME).pdf book.ps book.pdf 1.23 + rm -rf refs 1.24 + rm -f *.ig