|
[Rivet-svn] r2354 - trunk/docblackhole at projects.hepforge.org blackhole at projects.hepforge.orgTue Mar 23 11:29:24 GMT 2010
Author: buckley Date: Tue Mar 23 11:29:24 2010 New Revision: 2354 Log: Fix LaTeX failing to re-run until cross-references fixed Modified: trunk/doc/Makefile.am Modified: trunk/doc/Makefile.am ============================================================================== --- trunk/doc/Makefile.am Mon Mar 22 21:59:06 2010 (r2353) +++ trunk/doc/Makefile.am Tue Mar 23 11:29:24 2010 (r2354) @@ -64,7 +64,7 @@ $(LATEX) $<; true egrep $(MAKEIDX) $< && ($(MAKEINDEX) $(DOCNAME) && cp $(DOCNAME).toc $(DOCNAME).toc.bak && $(LATEX) $<) > /dev/null; true egrep -c $(RERUNBIB) $(DOCNAME).log && ($(BIBTEX) $(DOCNAME) && cp $(DOCNAME).toc $(DOCNAME).toc.bak && $(LATEX) $<); true - for i in `seq 5`; do if egrep $(RERUN) $(DOCNAME).log; then cp $(DOCNAME).toc $(DOCNAME).toc.bak && $(LATEX) $<; else break; fi; done; true + for i in `seq 10`; do if egrep $(RERUN) $(DOCNAME).log; then echo "LaTeX re-run $i"; cp $(DOCNAME).toc $(DOCNAME).toc.bak; $(LATEX) $<; else break; fi; done; true if cmp -s $(DOCNAME).toc $(DOCNAME).toc.bak; then true; else $(LATEX) $<; true; fi $(RM) $(DOCNAME).toc.bak; true
More information about the Rivet-svn mailing list |