summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Elstner <daniel.kitta@gmail.com>2009-12-12 10:58:42 +0100
committerDaniel Elstner <daniel.kitta@gmail.com>2009-12-12 11:11:40 +0100
commit59fc9033f83eb2e34efeca61995bdc9fc50cb7cd (patch)
tree757ffb64baf3796c3184b442550a4f92a67bc30d
parentb6086d27ab7bc562987ac12a169e592e140b0409 (diff)
downloadmm-common-59fc9033f83eb2e34efeca61995bdc9fc50cb7cd.tar.gz
Work around empty instantiation of $(doc_outdir)
* build/doc-reference.am (doxytagfile), (devhelpfile): Conditionally assign these variables, thus making them overridable. For some weird reason this helps to avoid a premature instantiation of $(doc_outdir) with the empty string as content. (bgo#604222)
-rw-r--r--build/doc-reference.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/doc-reference.am b/build/doc-reference.am
index 88ec478..925a53f 100644
--- a/build/doc-reference.am
+++ b/build/doc-reference.am
@@ -18,7 +18,7 @@
## Parameters: book_name
## Overrides: pubdocbase, htmlrefpub, book_title, htmlref_patterns,
## doc_outdir, doc_config, doc_postprocess, doc_install,
-## tagfile_to_devhelp2
+## tagfile_to_devhelp2, doxytagfile, devhelpfile
## Files: doc_input
## Output: dist_noinst_DATA, DISTCLEANFILES, MAINTAINERCLEANFILES
@@ -51,8 +51,8 @@ doc_install ?= $(PERL) -- "$(MMDOCTOOLDIR)/doc-install.pl"
tagfile_to_devhelp2 ?= "$(MMDOCTOOLDIR)/tagfile-to-devhelp2.xsl"
# Names of the main output files.
-doxytagfile = $(doc_outdir)/$(book_name).tag
-devhelpfile = $(doc_outdir)/$(book_name).devhelp2
+doxytagfile ?= $(doc_outdir)/$(book_name).tag
+devhelpfile ?= $(doc_outdir)/$(book_name).devhelp2
# Function: $(call vpath_listall,PATTERN ...)
# Get all filenames which match a PATTERN from the list. Look for files