docs/bib-ref2
annotate handout/makefile @ 60:ab0bbc4264e3
PB: added an abstract
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Wed, 05 Nov 2014 07:37:06 +0100 |
parents | |
children |
rev | line source |
---|---|
meillo@55 | 1 NAME = ref2-handout |
meillo@55 | 2 CHAPS = ../style handout.roff |
meillo@55 | 3 BIB = bib |
meillo@55 | 4 PDFFLAGS = -sPAPERSIZE=a4 -dPDFSETTINGS=/prepress |
meillo@55 | 5 REFER = refer -n -p $(BIB) -e -P -sLAD -a # -l,2 -k |
meillo@55 | 6 |
meillo@55 | 7 all: $(NAME).ps pdf |
meillo@55 | 8 |
meillo@55 | 9 $(NAME).ps: $(CHAPS) makefile $(BIB) |
meillo@55 | 10 export TROFFONTS=../fonts;\ |
meillo@55 | 11 soelim $(CHAPS) | $(REFER) | tbl | pic | \ |
meillo@55 | 12 troff -Tps -ms 2>err.ig | dpost >$@ |
meillo@55 | 13 |
meillo@55 | 14 pdf: $(NAME).pdf |
meillo@55 | 15 $(NAME).pdf: $(NAME).ps |
meillo@55 | 16 ps2pdf $(PDFFLAGS) $(NAME).ps 2>/dev/null |
meillo@55 | 17 |
meillo@55 | 18 clean: |
meillo@55 | 19 rm -f $(NAME).ps $(NAME).pdf book.ps book.pdf |
meillo@55 | 20 rm -rf refs |
meillo@55 | 21 rm -f *.ig |