From: Julian Seward Date: Mon, 25 Jul 2005 17:53:46 +0000 (+0000) Subject: I think && might be a better statement-joiner than ; -- the pdfxmltex X-Git-Tag: svn/VALGRIND_3_0_0~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00c4434760987e60416baeba8ee8ed05342c1abf;p=thirdparty%2Fvalgrind.git I think && might be a better statement-joiner than ; -- the pdfxmltex runs can easily die silently. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4252 --- diff --git a/docs/Makefile.am b/docs/Makefile.am index e266b30d1a..d984a38eac 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -59,12 +59,12 @@ print-docs: mkdir -p $(printdir)/images; cp $(imgdir)/massif-graph-sm.png $(printdir)/images; $(XSLTPROC) $(XSLTPROC_FLAGS) -o $(printdir)/index.fo $(XSL_FO_STYLE) $(xmldir)/index.xml; - (cd $(printdir); \ - pdfxmltex index.fo &> $(LOGFILE); \ - pdfxmltex index.fo &> $(LOGFILE); \ - pdfxmltex index.fo &> $(LOGFILE); \ - echo "Generating PS file: $(printdir)/index.ps ..."; \ - pdftops index.pdf; \ + (cd $(printdir) && \ + pdfxmltex index.fo &> $(LOGFILE) && \ + pdfxmltex index.fo &> $(LOGFILE) && \ + pdfxmltex index.fo &> $(LOGFILE) && \ + echo "Generating PS file: $(printdir)/index.ps ..." && \ + pdftops index.pdf && \ rm *.log *.aux *.fo *.out) # If the docs have been built, install them. But don't worry if they have