docs/bib-ref2
annotate handout/makefile @ 58:b424a623d2be
hgignore: minor cleanups
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Mon, 20 Oct 2014 07:20:18 +0200 |
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 |