From: <xm...@us...> - 2006-09-02 03:11:40
|
Revision: 6242 http://svn.sourceforge.net/docbook/?rev=6242&view=rev Author: xmldoc Date: 2006-09-01 20:11:32 -0700 (Fri, 01 Sep 2006) Log Message: ----------- Make the doc build depend on docsrc. Modified Paths: -------------- trunk/xsl/doc/Makefile trunk/xsl/docsrc/Makefile Modified: trunk/xsl/doc/Makefile =================================================================== --- trunk/xsl/doc/Makefile 2006-09-02 03:10:52 UTC (rev 6241) +++ trunk/xsl/doc/Makefile 2006-09-02 03:11:32 UTC (rev 6242) @@ -21,13 +21,20 @@ DIRS=common refentry lib html fo manpages wordml slides website template pi -all: copyright.html warranty.html reference.html index.html reference.txt.gz +all: html reference.txt.gz + +html: base copyright.html warranty.html reference.html index.html + +base: docsrc for i in $(DIRS) __bogus__; do \ if [ $$i != __bogus__ ] ; then \ echo "$(MAKE) -C $$i"; $(MAKE) -C $$i; \ fi \ done +docsrc: + $(MAKE) -C ../docsrc + copyright.html: copyright.xml $(RSTYLE) $(XJPARSE) $(VPATH)/$< $(XSLT) $(PROCOPT) $< $(RSTYLE) $@ $(XSLTOPT) @@ -43,11 +50,11 @@ index.html: reference.html cp -pR $< $@ -reference.pdf: ../docsrc/reference.dbk $(REFERENCE_MAKEFILE) +reference.pdf: ../docsrc/reference.dbk docsrc $(REFERENCE_MAKEFILE) $(MAKE) -f $(REFERENCE_MAKEFILE) ../docsrc/reference.pdf PDF_MAKER=$(PDF_MAKER) DOCBOOK_FILE_EXTENSION=$(DOCBOOK_FILE_EXTENSION) FO_PARAMS=$(FO_PARAMS) \ && mv ../docsrc/reference.pdf . -reference.txt: ../docsrc/reference.dbk $(REFERENCE_MAKEFILE) +reference.txt: ../docsrc/reference.dbk docsrc $(REFERENCE_MAKEFILE) $(MAKE) -f $(REFERENCE_MAKEFILE) ../docsrc/reference.txt TXT_MAKER=$(TXT_MAKER) TXT_MAKER_FLAGS=$(TXT_MAKER_FLAGS) DOCBOOK_FILE_EXTENSION=$(DOCBOOK_FILE_EXTENSION) HTML_PARAMS=$(HTML_PARAMS) \ && mv ../docsrc/reference.txt . && $(RM) ../docsrc/reference.html @@ -64,9 +71,6 @@ echo "$(MAKE) -C $$i clean"; $(MAKE) -C $$i clean; \ fi \ done - $(RM) ../docsrc/reference.fo - $(RM) ../docsrc/reference.pdf - $(RM) ../docsrc/reference.txt $(RM) reference.pdf $(RM) reference.txt $(RM) reference.pdf.gz Modified: trunk/xsl/docsrc/Makefile =================================================================== --- trunk/xsl/docsrc/Makefile 2006-09-02 03:10:52 UTC (rev 6241) +++ trunk/xsl/docsrc/Makefile 2006-09-02 03:11:32 UTC (rev 6242) @@ -8,7 +8,9 @@ MAKE_ELEMENTS_XSL=make-elements.xsl MAKE_PARAMS_XSL=make-xsl-params.xsl -all: docbook-elements.xsl xsl-params.xsl +all: base docbook-elements.xsl xsl-params.xsl + +base: for i in $(DIRS) __bogus__; do \ if [ $$i != __bogus__ ] ; then \ echo "$(MAKE) -C $$i"; $(MAKE) -C $$i; \ @@ -21,6 +23,10 @@ echo "$(MAKE) -C $$i clean"; $(MAKE) -C $$i clean; \ fi \ done + $(RM) reference.txt + $(RM) reference.html + $(RM) reference.fo + $(RM) reference.pdf $(DOCBOOK5_RNG): $(MAKE) -C $(dir $@) $(notdir $@) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |