From: <xm...@us...> - 2006-09-10 14:25:42
|
Revision: 6282 http://svn.sourceforge.net/docbook/?rev=6282&view=rev Author: xmldoc Date: 2006-09-10 07:25:32 -0700 (Sun, 10 Sep 2006) Log Message: ----------- Fixed reference.txt build. Changed build such that reference.pdf is always built except for snapshot releases. Added reference.fo to list of files that are excluded from packaging. Modified Paths: -------------- trunk/xsl/Makefile trunk/xsl/doc/Makefile Modified: trunk/xsl/Makefile =================================================================== --- trunk/xsl/Makefile 2006-09-10 12:03:04 UTC (rev 6281) +++ trunk/xsl/Makefile 2006-09-10 14:25:32 UTC (rev 6282) @@ -12,7 +12,7 @@ # value of ZIP_EXCLUDES is a space-separated list of any file or # directory names (shell wildcards OK) that should be excluded # from the zip file and tarball for the release -DISTRIB_EXCLUDES = extensions/xsltproc doc/reference.txt$$ doc/reference.pdf$$ +DISTRIB_EXCLUDES = extensions/xsltproc doc/reference.txt$$ reference.txt.html$$ doc/reference.fo$$ doc/reference.pdf$$ # value of DISTRIB_PACKAGES is a space-separated list of any # directory names that should be packaged as separate zip/tar @@ -46,7 +46,7 @@ $(MAKE) -C docsrc doc: docsrc - $(MAKE) -C doc + $(MAKE) -C doc RELVER=$(RELVER) website: $(MAKE) -C ../website/xsl Modified: trunk/xsl/doc/Makefile =================================================================== --- trunk/xsl/doc/Makefile 2006-09-10 12:03:04 UTC (rev 6281) +++ trunk/xsl/doc/Makefile 2006-09-10 14:25:32 UTC (rev 6282) @@ -18,7 +18,12 @@ DIRS=common refentry lib html fo manpages wordml slides website template +# build reference.pdf.gz except for snapshot releases +ifneq (snapshot,$(findstring snapshot,$(RELVER))) +all: reference.txt.gz reference.pdf.gz html +else all: reference.txt.gz html +endif html: base copyright.html warranty.html reference.html index.html @@ -50,9 +55,12 @@ reference.pdf: reference.fo $(XEP) $(XEPFLAGS) $< -reference.txt: ../docsrc/reference.dbk $(REFERENCETXTXSL) - $(XSLTPROC) --xinclude $(REFERENCETXTXSL) $< | $(TXT_MAKER) $(TXT_MAKER_FLAGS) > $@ +reference.txt.html: ../docsrc/reference.dbk $(REFERENCETXTXSL) + $(XSLTPROC) --xinclude $(REFERENCETXTXSL) $< > $@ +reference.txt: reference.txt.html + $(TXT_MAKER) $(TXT_MAKER_FLAGS) $< > $@ + reference.pdf.gz: reference.pdf cat $< | $(GZIP) $(GZIPFLAGS) > $@ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |