]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
I think && might be a better statement-joiner than ; -- the pdfxmltex
authorJulian Seward <jseward@acm.org>
Mon, 25 Jul 2005 17:53:46 +0000 (17:53 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 25 Jul 2005 17:53:46 +0000 (17:53 +0000)
runs can easily die silently.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4252

docs/Makefile.am

index e266b30d1a0b0cd5fcfd28724c032b04c90f0bef..d984a38eac168d8ea935b76c8ab0e30894609ed2 100644 (file)
@@ -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