[mm-common] doc-reference.am: Export MMDOCTOOLDIR at make level
- From: Daniel Elstner <daniel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mm-common] doc-reference.am: Export MMDOCTOOLDIR at make level
- Date: Fri, 21 Aug 2015 01:08:56 +0000 (UTC)
commit b0b06b32612099170bd8baeca607b39f1c611c84
Author: Daniel Elstner <daniel kitta gmail com>
Date: Thu Aug 20 20:41:10 2015 +0200
doc-reference.am: Export MMDOCTOOLDIR at make level
* build/doc-reference.am: Use GNU make's "export" directive to
pass MMDOCTOOLDIR to Doxygen.
build/doc-reference.am | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/build/doc-reference.am b/build/doc-reference.am
index 975d23f..f19d9e0 100644
--- a/build/doc-reference.am
+++ b/build/doc-reference.am
@@ -133,6 +133,9 @@ else
doc_dependencies =
endif
+# Export this variable for use in the Doxygen configuration file.
+export MMDOCTOOLDIR
+
# Explicitly depend on the files to be distributed or installed.
all-local: $(doc_inst_files) $(doc_dist_files)
@@ -187,13 +190,10 @@ $(doc_outdir)/html/%: | $(doxytagfile)
# Run Doxygen to build the reference documentation. The generated tag file
# also functions as time stamp target for the documentation as a whole.
-# Quote $(DOXYGEN) so that this still works if this is a path containing
-# spaces such as "/c/Program Files (x86)/Doxygen/bin/doxygen"
-# The doc_config file may contain "$(MMDOCTOOLDIR)". Export MMDOCTOOLDIR to Doxygen.
$(doxytagfile): $(doc_dependencies) | $(doc_config)
-$(AM_V_at)rm -f $@
-$(AM_V_at)rm -fr $(doc_outdir)/html
- $(AM_V_GEN)(echo '@INCLUDE =' $(doc_config) && echo 'INPUT =' $(doc_input)) |
MMDOCTOOLDIR="$(MMDOCTOOLDIR)" "$(DOXYGEN)" -
+ $(AM_V_GEN)(echo '@INCLUDE =' $(doc_config) && echo 'INPUT =' $(doc_input)) | "$(DOXYGEN)" -
$(AM_V_at)$(doc_postprocess) '$(doc_outdir)/html/*.html'
# Run XSL transformation to generate a Devhelp book from a Doxygen tag file.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]