[librsvgmm] Reactivate distribution of generated documentation
- From: Daniel Elstner <daniel src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [librsvgmm] Reactivate distribution of generated documentation
- Date: Sun, 2 Aug 2009 23:41:50 +0000 (UTC)
commit 70ef5582ab1ef48a6c17570dbdac150161b75cc3
Author: Daniel Elstner <daniel kitta gmail com>
Date: Sat Jul 18 20:38:58 2009 +0200
Reactivate distribution of generated documentation
* build/doc-reference.am (dist_*_DATA): Add dist_ prefix.
(*CLEANFILES): Clean files on distclean or maintainer-clean.
(maintainer-clean-local): Rename from clean-local.
(doc_dependencies): Assign documentation dependencies indirectly
depending on the maintainer mode setting.
build/doc-reference.am | 27 +++++++++++++++++----------
1 files changed, 17 insertions(+), 10 deletions(-)
---
diff --git a/build/doc-reference.am b/build/doc-reference.am
index cc027c4..32e42cc 100644
--- a/build/doc-reference.am
+++ b/build/doc-reference.am
@@ -30,33 +30,40 @@ htmlref_files = $(or $(wildcard\
$(htmlref_patterns)),$(wildcard\
$(addprefix $(srcdir)/,$(htmlref_patterns))))
-referencedir = $(datarootdir)/doc/$(book_name)/reference
-reference_DATA = $(doxytagfile)
+referencedir = $(datarootdir)/doc/$(book_name)/reference
+dist_reference_DATA = $(doxytagfile)
-htmlrefdir = $(referencedir)/html
-htmlref_DATA = $(htmlref_files)
+htmlrefdir = $(referencedir)/html
+dist_htmlref_DATA = $(htmlref_files)
-devhelpdir = $(datadir)/devhelp/books/$(book_name)
-devhelp_DATA = $(devhelpfile)
+devhelpdir = $(datadir)/devhelp/books/$(book_name)
+dist_devhelp_DATA = $(devhelpfile)
-CLEANFILES = $(doxytagfile) $(devhelpfile) reference/doxygen.log
+DISTCLEANFILES = reference/doxygen.log
+MAINTAINERCLEANFILES = $(doxytagfile) $(devhelpfile)
+
+if MAINTAINER_MODE
+doc_dependencies = reference/Doxyfile $(doc_input)
+else
+doc_dependencies =
+endif
beautify_docs ?= $(GMMPROC_DIR)/beautify_docs.pl
doxytag_to_devhelp2 ?= $(GMMPROC_DIR)/doxytag_to_devhelp2.xsl
dh_xsl_params = --stringparam book_title '$(book_title)' \
--stringparam book_name '$(book_name)' \
- --stringparam reference_prefix "$(htmlrefdir)"
+ --stringparam reference_prefix html
.DELETE_ON_ERROR:
-clean-local:
+maintainer-clean-local:
-rm -rf reference/html
reference/Doxyfile: $(srcdir)/reference/Doxyfile.in $(top_builddir)/config.status
cd "$(top_builddir)" && $(SHELL) ./config.status '$(subdir)/$@'
-$(doxytagfile): reference/Doxyfile $(doc_input)
+$(doxytagfile): $(doc_dependencies)
-rm -f '$@'
-rm -rf reference/html
(echo '@INCLUDE =' reference/Doxyfile && echo 'INPUT =' $(doc_input)) | $(DOXYGEN) -
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]