summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Elstner <daniel.kitta@gmail.com>2015-08-21 02:02:24 +0200
committerDaniel Elstner <daniel.kitta@gmail.com>2015-08-21 02:02:24 +0200
commitf682be2cc013d00e2e0233e85630004555f920e0 (patch)
tree8d6411809914434f8aba79df3822e0786548f0fe
parentb13561c71119e39a64b1d4f17657418bec23be14 (diff)
downloadmm-common-f682be2cc013d00e2e0233e85630004555f920e0.tar.gz
doc-reference.am: Do not distribute doxygen.css
* build/doc-reference.am (DIST_DOCTOOLS): Remove the deprecated doxygen.css from the list of distributed documentation utilities. This is unlikely to cause any serious breakage -- modules that still use doxygen.css will continue to build just fine. Only new tarball releases will be affected, and even then only when the shipped documentation is being rebuilt.
-rw-r--r--build/doc-reference.am14
1 files changed, 9 insertions, 5 deletions
diff --git a/build/doc-reference.am b/build/doc-reference.am
index f19d9e0..d267d6d 100644
--- a/build/doc-reference.am
+++ b/build/doc-reference.am
@@ -67,6 +67,14 @@ referencedir = $(libdocdir)/reference
htmlrefdir = $(referencedir)/html
devhelpdir = $(datadir)/devhelp/books/$(book_name)
+# Optionally, the documentation utilities may be included in source tarballs
+# so that mm-common is only required when building in maintainer mode.
+if DIST_DOCTOOLS
+doctools_dist_files = $(addprefix $(MMDOCTOOLDIR)/,doc-postprocess.pl doc-install.pl tagfile-to-devhelp2.xsl doxygen-extra.css)
+else
+doctools_dist_files =
+endif
+
if ENABLE_DOCUMENTATION
doc_inst_targets = install-htmlref install-devhelp
doc_inst_files = $(doxytagfile)
@@ -77,12 +85,8 @@ doc_inst_files =
doc_dist_files =
endif
-if DIST_DOCTOOLS
-doc_dist_files += $(MMDOCTOOLDIR)/doc-postprocess.pl $(MMDOCTOOLDIR)/doc-install.pl $(MMDOCTOOLDIR)/tagfile-to-devhelp2.xsl $(MMDOCTOOLDIR)/doxygen.css $(MMDOCTOOLDIR)/doxygen-extra.css
-endif
-
dist_reference_DATA = $(strip $(doc_inst_files))
-dist_noinst_DATA = $(strip $(doc_dist_files))
+dist_noinst_DATA = $(strip $(doctools_dist_files) $(doc_dist_files))
DISTCLEANFILES = $(doc_outdir)/doxygen.log
MAINTAINERCLEANFILES = $(doxytagfile) $(devhelpfile) $(doc_outdir)/html/*