[mm-common] Work around incorrect static expansion by Automake



commit a7741eed07bfc69c514a5fa64df5f5710a7039bf
Author: Daniel Elstner <daniel kitta gmail com>
Date:   Mon Dec 14 10:41:31 2009 +0100

    Work around incorrect static expansion by Automake
    
    * build/doc-reference.am (dist_reference_DATA), (dist_noinst_DATA):
    Wrap the assigned value in a $(strip) function call to stop Automake
    from expanding the variable statically.  It breaks because the static
    expansion of conditionally assigned variables is empty.

 build/doc-reference.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/build/doc-reference.am b/build/doc-reference.am
index 6f5c353..db8f98b 100644
--- a/build/doc-reference.am
+++ b/build/doc-reference.am
@@ -77,8 +77,8 @@ doc_inst_files   =
 doc_dist_files   =
 endif
 
-dist_reference_DATA = $(doc_inst_files)
-dist_noinst_DATA    = $(doc_dist_files)
+dist_reference_DATA = $(strip $(doc_inst_files))
+dist_noinst_DATA    = $(strip $(doc_dist_files))
 
 DISTCLEANFILES       = $(doc_outdir)/doxygen.log
 MAINTAINERCLEANFILES = $(doxytagfile) $(devhelpfile) $(doc_outdir)/html/*



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]