Revision: 47030 http://brlcad.svn.sourceforge.net/brlcad/?rev=47030&view=rev Author: tbrowder2 Date: 2011-10-03 16:45:03 +0000 (Mon, 03 Oct 2011) Log Message: ----------- add suffix rule dependencies portably; remove recipe statements no longer needed; add helpful comments
Modified Paths: -------------- brlcad/trunk/doc/docbook/Makefile.am Modified: brlcad/trunk/doc/docbook/Makefile.am =================================================================== --- brlcad/trunk/doc/docbook/Makefile.am 2011-10-03 16:43:08 UTC (rev 47029) +++ brlcad/trunk/doc/docbook/Makefile.am 2011-10-03 16:45:03 UTC (rev 47030) @@ -43,33 +43,37 @@ $(XML_CATALOGS): $(GEN_XML_CATALOGS) BRLCAD_DOC.pm perl $(GEN_XML_CATALOGS) +XSLTPROC_DEPS=$(XML_CATALOGS) $(XSL_FO_STYLESHEET) $(XSL_XHTML_STYLESHEET) $(XSL_MAN_STYLESHEET) + +# define extra dependencies for some double suffix rules: +.html: resources/brlcad/brlcad-xhtml-stylesheet.xsl $(XSLTPROC_DEPS) +.1: resources/brlcad/brlcad-xhtml-stylesheet.xsl $(XSLTPROC_DEPS) +.3: resources/brlcad/brlcad-xhtml-stylesheet.xsl $(XSLTPROC_DEPS) +.5: resources/brlcad/brlcad-xhtml-stylesheet.xsl $(XSLTPROC_DEPS) +.nged: resources/brlcad/brlcad-xhtml-stylesheet.xsl $(XSLTPROC_DEPS) +.fo: $(XSLTPROC_DEPS) + .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 $@ # this rule must not be applied to books @@ -185,6 +189,7 @@ # en book pdf # && if test -f $< ; then rm $< ; fi +# for fo debugging, comment out the lines that remove the fo files $(booksen1).pdf : $(booksen1).fo $(XML_CATALOG) $(FOP_ENV_VARS) $(APACHEFOP) $(fopdebug) -c fop.xconf -fo $< -pdf $@ \ && if test -f $< ; then rm $< ; fi This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits