[brlcad-commits] SF.net SVN: brlcad:[36990] brlcad/trunk/doc/docbook/Makefile.am
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <br...@us...> - 2009-12-22 19:45:15
|
Revision: 36990 http://brlcad.svn.sourceforge.net/brlcad/?rev=36990&view=rev Author: brlcad Date: 2009-12-22 19:45:08 +0000 (Tue, 22 Dec 2009) Log Message: ----------- create the directory before running xsltproc in order to avoid a race condition that causes xsltproc to bail. also make the clean rule not fail on in-dir builds (can't just remove the dir, especially if there are still (source) files in there) Modified Paths: -------------- brlcad/trunk/doc/docbook/Makefile.am Modified: brlcad/trunk/doc/docbook/Makefile.am =================================================================== --- brlcad/trunk/doc/docbook/Makefile.am 2009-12-22 19:05:58 UTC (rev 36989) +++ brlcad/trunk/doc/docbook/Makefile.am 2009-12-22 19:45:08 UTC (rev 36990) @@ -4,23 +4,25 @@ XSL_FO_STYLESHEET=$(top_srcdir)/doc/docbook/resources/standard/xsl/fo/docbook.xsl XML_CATALOG_FILES=$(top_srcdir)/doc/docbook/catalog.xml -.xml.html: +.xml.html: + @mkdir -p $$(dirname $@) XML_CATALOG_FILES=$(XML_CATALOG_FILES) $(XSLTPROC) $(XSLTPROC_FLAGS) -o $@ $(XSL_XHTML_STYLESHEET) $? .xml.1: XML_CATALOG_FILES=$(XML_CATALOG_FILES) $(XSLTPROC) $(XSLTPROC_FLAGS) $(XSL_MAN_STYLESHEET) $? - mkdir -p system/man1/en/ - mv '$(@F)' system/man1/en/ + @mkdir -p system/man1/en + @mv '$(@F)' system/man1/en/. .xml.3: XML_CATALOG_FILES=$(XML_CATALOG_FILES) $(XSLTPROC) $(XSLTPROC_FLAGS) $(XSL_MAN_STYLESHEET) $? - mkdir -p system/man3/en/ - mv '$(@F)' system/man3/en/ + @mkdir -p system/man3/en + @mv '$(@F)' system/man3/en/. .fo.pdf: .xml.fo $(APACHEFOP) -c fop.xconf $? -pdf $@ .xml.fo: + @mkdir -p $$(dirname $@) XML_CATALOG_FILES=$(XML_CATALOG_FILES) $(XSLTPROC) $(XSLTPROC_FLAGS) -o $@ $(XSL_FO_STYLESHEET) $? include $(srcdir)/articles/en/Makefile.am @@ -68,13 +70,10 @@ endif -MOSTLYCLEANFILES = \ +CLEANFILES = \ $(BUILT_SOURCES) \ $(BUILTMAN_EN_SOURCES) -clean-generic: mostlyclean-generic - -rmdir -p system/man1/en - -rmdir -p system/man3/en EXTRA_DIST = \ ${articlesDOCBOOK_EN_IMAGES} \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |