[xiph-commits] r14079 - trunk/theora/doc/spec

giles at svn.xiph.org giles at svn.xiph.org
Wed Oct 31 14:38:44 PDT 2007


Author: giles
Date: 2007-10-31 14:38:43 -0700 (Wed, 31 Oct 2007)
New Revision: 14079

Modified:
   trunk/theora/doc/spec/Makefile.am
Log:
Always run bibtex when building the spec.

The previous rules had spec.bbl depending on spec.aux, but that
file is updated when the spec itself it build, so the spec was
always considered out of date.


Modified: trunk/theora/doc/spec/Makefile.am
===================================================================
--- trunk/theora/doc/spec/Makefile.am	2007-10-31 21:24:44 UTC (rev 14078)
+++ trunk/theora/doc/spec/Makefile.am	2007-10-31 21:38:43 UTC (rev 14079)
@@ -29,24 +29,19 @@
 
 if BUILD_SPEC
 # latex three times is the charm with references
-# we get one for free building spec.bbl
-Theora.pdf : $(SPEC_SRCS) $(FIG_OBJS) vp3huff.tex spec.bbl
+# long tables require the .aux file to start from scratch
+Theora.pdf : $(SPEC_SRCS) $(FIG_OBJS) vp3huff.tex spec.bib
+	-$(RM) spec.aux
 	pdflatex -interaction nonstopmode spec.tex
+	bibtex spec.aux
 	pdflatex -interaction nonstopmode spec.tex
+	pdflatex -interaction nonstopmode spec.tex
 	mv spec.pdf $@
 else
 Theora.pdf : 
         echo "*** Warning: Missing tools; $@ will not be built."
 endif
 
-# Long tables require the .aux file to start from scratch
-spec.aux : spec.tex
-	-$(RM) spec.aux
-	pdflatex -interaction nonstopmode $<
-
-spec.bbl : spec.aux spec.bib
-	bibtex $<
-
 vp3huff.tex : vp3huff
 	./vp3huff > $@
 



More information about the commits mailing list