# 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
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
$(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