Mercurial > 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 wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/handout/makefile Thu Apr 10 07:04:47 2014 +0200 @@ -0,0 +1,21 @@ +NAME = ref1-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 + +$(NAME).ps: $(CHAPS) makefile $(BIB) + export TROFFONTS=../fonts;\ + soelim $(CHAPS) | $(REFER) | \ + 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