docs/bib-ref1
diff handout/makefile @ 68:38cfbe3ed6ab
added the handout (... already weeks old)
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Thu, 10 Apr 2014 07:04:47 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/handout/makefile Thu Apr 10 07:04:47 2014 +0200 1.3 @@ -0,0 +1,21 @@ 1.4 +NAME = ref1-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 1.11 + 1.12 +$(NAME).ps: $(CHAPS) makefile $(BIB) 1.13 + export TROFFONTS=../fonts;\ 1.14 + soelim $(CHAPS) | $(REFER) | \ 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