From f682be2cc013d00e2e0233e85630004555f920e0 Mon Sep 17 00:00:00 2001 From: Daniel Elstner Date: Fri, 21 Aug 2015 02:02:24 +0200 Subject: 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. --- build/doc-reference.am | 14 +++++++++----- 1 file 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/* -- cgit v1.2.1