diff en/Makefile @ 26:1bc6c1f0192a

More MQ content. Skeletal preface.
author Bryan O'Sullivan <bos@serpentine.com>
date Tue, 11 Jul 2006 23:48:25 -0700
parents a752b0fd3c10
children 6e988159394b cc1e6f1d7161
line wrap: on
line diff
--- a/en/Makefile	Sun Jul 09 23:18:39 2006 -0700
+++ b/en/Makefile	Tue Jul 11 23:48:25 2006 -0700
@@ -6,6 +6,7 @@
 	00book.tex \
 	99book.bib \
 	99defs.tex \
+	preface.tex \
 	intro.tex \
 	mq.tex \
 	build_id.tex
@@ -38,6 +39,7 @@
 	cd $(dir $@) && makeindex $(basename $(notdir $@))
 	TEXINPUTS=$(dir $<): pdflatex $(call latex-options,$@) $< || (rm -f $@; exit 1)
 	TEXINPUTS=$(dir $<): pdflatex $(call latex-options,$@) $< || (rm -f $@; exit 1)
+	if grep 'Reference.*undefined' $(@:.pdf=.log); then exit 1; fi
 endef
 
 pdf/hgbook.pdf: $(sources) $(image-sources:%.svg=%_pdf.png) examples