]> granicus.if.org Git - docbook-dsssl/commitdiff
Made some release-build changes:
authorMichael Smith <xmldoc@users.sourceforge.net>
Wed, 10 Oct 2007 09:00:20 +0000 (09:00 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Wed, 10 Oct 2007 09:00:20 +0000 (09:00 +0000)
 - added "tests" target to DISTRIB_DEPENDS
 - created "docsrc-clean" target and configured makefile so that
   it gets run only when the release-clean target is run
 - took variable definitions for stylesheets used in "make check"
   smoketesting, and moved them to the Makefile.tests file

xsl/Makefile

index 797ffe3d45ccfd52019e8731861041fbbf0831b9..c7102205e619bb23d46c8dd4fd5055b5b157577c 100644 (file)
@@ -18,12 +18,16 @@ DISTRIB_CHANGELOG_INCLUDES = gentext xsl-saxon xsl-xalan
 
 # value of DISTRIB_DEPENDS is a space-separated list of any
 # targets for this distro's "distrib" target to depend on
-DISTRIB_DEPENDS = doc docsrc install.sh RELEASE-NOTES.txt extensions
+DISTRIB_DEPENDS = doc docsrc install.sh RELEASE-NOTES.txt extensions tests
 
 # value of RELEASE_DEPENDS is a space-separated list of any
 # targets for this distro's "release" target to depend on
 RELEASE_DEPENDS = check RELEASE-NOTES.pdf RELEASE-NOTES-PARTIAL.txt
 
+# value of RELEASE_CLEAN_TARGETS is any distro-specific targets
+# that should be run when the release-clean target is called
+RELEASE_CLEAN_TARGETS = docsrc-clean
+
 # value of INSTALL_DEPENDS is a space-separated list of any
 # targets for this distro's "install" target to depend on
 INSTALL_DEPENDS = release tag
@@ -59,20 +63,6 @@ URILIST = \
 
 DIRS=common lib html fo manpages htmlhelp javahelp eclipse roundtrip slides website
 
-NORMAL_STYLES=fo/docbook.xsl html/docbook.xsl xhtml/docbook.xsl
-NORMAL_PROFILE_STYLES=fo/profile-docbook.xsl html/profile-docbook.xsl xhtml/profile-docbook.xsl
-HELP_STYLES=htmlhelp/htmlhelp.xsl javahelp/javahelp.xsl eclipse/eclipse.xsl
-CHUNK_STYLES=html/chunk.xsl html/onechunk.xsl xhtml/chunk.xsl xhtml/onechunk.xsl
-CHUNK_PROFILE_STYLES=html/profile-chunk.xsl html/profile-onechunk.xsl xhtml/profile-chunk.xsl xhtml/profile-onechunk.xsl
-HELP_PROFILE_STYLES=htmlhelp/profile-htmlhelp.xsl eclipse/profile-eclipse.xsl javahelp/profile-javahelp.xsl
-MAN_STYLES=manpages/docbook.xsl
-MAN_PROFILE_STYLES=manpages/profile-docbook.xsl
-
-ROUNDTRIP_STYLES=roundtrip/dbk2ooo.xsl roundtrip/dbk2pages.xsl roundtrip/dbk2wordml.xsl
-SLIDES_STYLES=slides/html/default.xsl slides/xhtml/default.xsl slides/fo/plain.xsl
-WEBSITE_STYLES=website/website.xsl
-WEBSITE_CHUNK_STYLES=website/chunk-website.xsl
-
 .PHONY: distrib clean doc docsrc xhtml
 
 all: base xhtml
@@ -123,6 +113,10 @@ clean:
        $(MAKE) clean -C xhtml
        $(MAKE) clean -C doc
        $(MAKE) clean -C docsrc
+       $(MAKE) clean -C tests
+
+docsrc-clean:
+       $(MAKE) -C docsrc release-clean
 
 include Makefile.tests
 include ../releasetools/Targets.mk