hgbook

diff en/Makefile @ 2:379a802c0210

Add bibliography.
author Bryan O'Sullivan <bos@serpentine.com>
date Sat Jun 24 16:14:02 2006 -0700 (2006-06-24)
parents 76fba5835a1b
children 33a2e7b9978d
line diff
     1.1 --- a/en/Makefile	Fri Jun 23 12:15:22 2006 -0700
     1.2 +++ b/en/Makefile	Sat Jun 24 16:14:02 2006 -0700
     1.3 @@ -1,4 +1,8 @@
     1.4 -sources := 00book.tex mq.tex
     1.5 +sources := \
     1.6 +	00book.tex \
     1.7 +	99book.bib \
     1.8 +	99defs.tex \
     1.9 +	mq.tex
    1.10  
    1.11  latex-options = \
    1.12  	-interaction batchmode \
    1.13 @@ -12,6 +16,8 @@
    1.14  pdf/hgbook.pdf: $(sources)
    1.15  	mkdir -p $(dir $@)
    1.16  	pdflatex $(call latex-options,$@) $< || (rm -f $@; exit 1)
    1.17 +	cp 99book.bib $(dir $@)
    1.18 +	cd $(dir $@) && bibtex $(basename $(notdir $@))
    1.19  	pdflatex $(call latex-options,$@) $< || (rm -f $@; exit 1)
    1.20  	pdflatex $(call latex-options,$@) $< || (rm -f $@; exit 1)
    1.21