Mercurial > hgbook
diff en/Makefile @ 2:379a802c0210
Add bibliography.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Sat, 24 Jun 2006 16:14:02 -0700 |
parents | 76fba5835a1b |
children | 33a2e7b9978d |
line wrap: on
line diff
--- a/en/Makefile Fri Jun 23 12:15:38 2006 -0700 +++ b/en/Makefile Sat Jun 24 16:14:02 2006 -0700 @@ -1,4 +1,8 @@ -sources := 00book.tex mq.tex +sources := \ + 00book.tex \ + 99book.bib \ + 99defs.tex \ + mq.tex latex-options = \ -interaction batchmode \ @@ -12,6 +16,8 @@ pdf/hgbook.pdf: $(sources) mkdir -p $(dir $@) pdflatex $(call latex-options,$@) $< || (rm -f $@; exit 1) + cp 99book.bib $(dir $@) + cd $(dir $@) && bibtex $(basename $(notdir $@)) pdflatex $(call latex-options,$@) $< || (rm -f $@; exit 1) pdflatex $(call latex-options,$@) $< || (rm -f $@; exit 1)