From: Nicholas Nethercote Date: Tue, 30 Nov 2004 14:05:38 +0000 (+0000) Subject: Fix PS/PDF generation somewhat; the Makefile syntax errors are now X-Git-Tag: svn/VALGRIND_3_0_0~1159 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f6ce991fe49a8aefa780239c1ab4d1ee0d32eeb4;p=thirdparty%2Fvalgrind.git Fix PS/PDF generation somewhat; the Makefile syntax errors are now fixed, although latex now runs out of memory when doing it. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3159 --- diff --git a/docs/Makefile.am b/docs/Makefile.am index 773358c3dd..cfcb98d200 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -51,18 +51,18 @@ html-docs: # pdf and postscript print-docs: - @echo "Generating pdf file: $(printdir)/index.pdf ..."; + @echo "Generating PDF file: $(printdir)/index.pdf (please be patient)..."; export XML_CATALOG_FILES=$(XML_CATALOG_FILES); mkdir -p $(printdir); 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