From bb00a21cdca95bdc14a35047f77e21f0e19d74b1 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Wed, 10 Oct 2007 09:00:20 +0000 Subject: [PATCH] Made some release-build changes: - 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 | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/xsl/Makefile b/xsl/Makefile index 797ffe3d4..c7102205e 100644 --- a/xsl/Makefile +++ b/xsl/Makefile @@ -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 -- 2.40.0