Mercurial > hgbook
comparison 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 |
comparison
equal
deleted
inserted
replaced
1:04e469de601e | 2:379a802c0210 |
---|---|
1 sources := 00book.tex mq.tex | 1 sources := \ |
2 00book.tex \ | |
3 99book.bib \ | |
4 99defs.tex \ | |
5 mq.tex | |
2 | 6 |
3 latex-options = \ | 7 latex-options = \ |
4 -interaction batchmode \ | 8 -interaction batchmode \ |
5 -output-directory $(dir $(1)) \ | 9 -output-directory $(dir $(1)) \ |
6 -jobname $(basename $(notdir $(1))) | 10 -jobname $(basename $(notdir $(1))) |
10 pdf: pdf/hgbook.pdf | 14 pdf: pdf/hgbook.pdf |
11 | 15 |
12 pdf/hgbook.pdf: $(sources) | 16 pdf/hgbook.pdf: $(sources) |
13 mkdir -p $(dir $@) | 17 mkdir -p $(dir $@) |
14 pdflatex $(call latex-options,$@) $< || (rm -f $@; exit 1) | 18 pdflatex $(call latex-options,$@) $< || (rm -f $@; exit 1) |
19 cp 99book.bib $(dir $@) | |
20 cd $(dir $@) && bibtex $(basename $(notdir $@)) | |
15 pdflatex $(call latex-options,$@) $< || (rm -f $@; exit 1) | 21 pdflatex $(call latex-options,$@) $< || (rm -f $@; exit 1) |
16 pdflatex $(call latex-options,$@) $< || (rm -f $@; exit 1) | 22 pdflatex $(call latex-options,$@) $< || (rm -f $@; exit 1) |
17 | 23 |
18 html: html/onepage/hgbook.html html/split/hgbook.html | 24 html: html/onepage/hgbook.html html/split/hgbook.html |
19 | 25 |