docs/master

diff makefile @ 33:3e70450336a4

refer: Added refer; the bib contains various entries already.
author markus schnalke <meillo@marmaro.de>
date Tue, 15 May 2012 19:19:17 +0200
parents dc2bfef4cda7
children f3c95ee96cc4
line diff
     1.1 --- a/makefile	Mon May 14 17:10:43 2012 +0200
     1.2 +++ b/makefile	Tue May 15 19:19:17 2012 +0200
     1.3 @@ -1,13 +1,13 @@
     1.4  NAME = thesis
     1.5  CHAPS = style front.roff dedication.roff abstract.roff preface.roff \
     1.6 -	ch*.roff toc.roff
     1.7 +	ch*.roff refs.roff toc.roff
     1.8  PDFFLAGS = -sPAPERSIZE=a4 -dPDFSETTINGS=/prepress
     1.9  
    1.10  all: $(NAME).ps
    1.11  
    1.12 -$(NAME).ps: $(CHAPS) makefile
    1.13 -	export TROFFONTS=fonts;\
    1.14 -	eqn $(CHAPS) | troff -Tps -ms | dpost >$@
    1.15 +$(NAME).ps: $(CHAPS) makefile bib
    1.16 +	export TROFFONTS=fonts REFER=bib;\
    1.17 +	cat $(CHAPS) | refer -e -P -sLAD -l,2 -k | troff -Tps -ms | dpost >$@
    1.18  
    1.19  pdf: $(NAME).pdf
    1.20  $(NAME).pdf: $(NAME).ps
    1.21 @@ -21,3 +21,4 @@
    1.22  
    1.23  clean:
    1.24  	rm -f $(NAME).ps $(NAME).pdf book.ps book.pdf
    1.25 +	rm -f bib.ig