[brlcad-commits] SF.net SVN: brlcad:[47003] brlcad/trunk/doc/docbook/Makefile.am
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <tbr...@us...> - 2011-09-30 20:38:05
|
Revision: 47003 http://brlcad.svn.sourceforge.net/brlcad/?rev=47003&view=rev Author: tbrowder2 Date: 2011-09-30 20:37:58 +0000 (Fri, 30 Sep 2011) Log Message: ----------- added a test for the xml catalog, and regeneration if necessary, to all suffix rules that use xsltproc; added xml catalog as a dependency to other rules using xsltproc Modified Paths: -------------- brlcad/trunk/doc/docbook/Makefile.am Modified: brlcad/trunk/doc/docbook/Makefile.am =================================================================== --- brlcad/trunk/doc/docbook/Makefile.am 2011-09-30 19:22:12 UTC (rev 47002) +++ brlcad/trunk/doc/docbook/Makefile.am 2011-09-30 20:37:58 UTC (rev 47003) @@ -45,29 +45,36 @@ perl $(GEN_XML_CATALOGS) .xml.html: + if test ! -f $(XML_CATALOG) ; then ./create-xml-catalogs.pl ; fi @mkdir -p $$(dirname $@) $(XSLTPROC_ENV_VARS) $(XSLTPROC) $(XSLTPROC_FLAGS) -o $@ $(XSL_XHTML_STYLESHEET) $< .xml.1: + if test ! -f $(XML_CATALOG) ; then ./create-xml-catalogs.pl ; fi $(XSLTPROC_ENV_VARS) $(XSLTPROC) $(XSLTPROC_FLAGS) $(XSL_MAN_STYLESHEET) $< @dir="$$(dirname $@)" && mkdir -p $$dir && mv '$(@F)' $$dir .xml.3: + if test ! -f $(XML_CATALOG) ; then ./create-xml-catalogs.pl ; fi $(XSLTPROC_ENV_VARS) $(XSLTPROC) $(XSLTPROC_FLAGS) $(XSL_MAN_STYLESHEET) $< @dir="$$(dirname $@)" && mkdir -p $$dir && mv '$(@F)' $$dir .xml.5: + if test ! -f $(XML_CATALOG) ; then ./create-xml-catalogs.pl ; fi $(XSLTPROC_ENV_VARS) $(XSLTPROC) $(XSLTPROC_FLAGS) $(XSL_MAN_STYLESHEET) $< @dir="$$(dirname $@)" && mkdir -p $$dir && mv '$(@F)' $$dir .xml.nged: + if test ! -f $(XML_CATALOG) ; then ./create-xml-catalogs.pl ; fi $(XSLTPROC_ENV_VARS) $(XSLTPROC) $(XSLTPROC_FLAGS) $(XSL_MAN_STYLESHEET) $< @dir="$$(dirname $@)" && mkdir -p $$dir && mv '$(@F)' $$dir .fo.pdf: + if test ! -f $(XML_CATALOG) ; then ./create-xml-catalogs.pl ; fi $(FOP_ENV_VARS) $(APACHEFOP) -c fop.xconf -fo $< -pdf $@ .xml.fo: + if test ! -f $(XML_CATALOG) ; then ./create-xml-catalogs.pl ; fi @mkdir -p $$(dirname $@) $(XSLTPROC_ENV_VARS) $(XSLTPROC) $(XSLTPROC_FLAGS) -o $@ $(XSL_FO_STYLESHEET) $< @@ -104,7 +111,7 @@ covers: covers.pdf #verbose = --verbose #fobdebug = -d -covers.fo: dummy.xml $(FO_COVER_DEPS) +covers.fo: dummy.xml $(FO_COVER_DEPS) $(XML_CATALOG) perl create-book-covers.pl $< @echo ============ making fo... ============= $(XSLTPROC_ENV_VARS) $(XSLTPROC) $(XSLTPROC_FLAGS) $(verbose) -o $(fo_out) \ @@ -134,7 +141,7 @@ # books need special cover stylesheets, and one for each book due to # customized colors fo_book = tmp.fo -$(enbooks): %.pdf: %.xml $(FO_COVER_DEPS) +$(enbooks): %.pdf: %.xml $(FO_COVER_DEPS) $(XML_CATALOG) perl create-book-covers.pl $< $(XSLTPROC_ENV_VARS) $(XSLTPROC) $(XSLTPROC_FLAGS) -o $(fo_book) \ $(XSL_FO_COVERS_STYLESHEET) $< This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |