Mercurial > 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 wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/handout/makefile Mon Oct 20 07:03:29 2014 +0200 @@ -0,0 +1,21 @@ +NAME = ref2-handout +CHAPS = ../style handout.roff +BIB = bib +PDFFLAGS = -sPAPERSIZE=a4 -dPDFSETTINGS=/prepress +REFER = refer -n -p $(BIB) -e -P -sLAD -a # -l,2 -k + +all: $(NAME).ps pdf + +$(NAME).ps: $(CHAPS) makefile $(BIB) + export TROFFONTS=../fonts;\ + soelim $(CHAPS) | $(REFER) | tbl | pic | \ + troff -Tps -ms 2>err.ig | dpost >$@ + +pdf: $(NAME).pdf +$(NAME).pdf: $(NAME).ps + ps2pdf $(PDFFLAGS) $(NAME).ps 2>/dev/null + +clean: + rm -f $(NAME).ps $(NAME).pdf book.ps book.pdf + rm -rf refs + rm -f *.ig