[libchamplain] Make gtk-doc compilation possible even if libmemphis is not used.



commit 699208a4c0fa07a413e8e88f63851c1ca10ad252
Author: JiÅ?í Techet <techet gmail com>
Date:   Mon Aug 30 01:29:18 2010 +0200

    Make gtk-doc compilation possible even if libmemphis is not used.
    
    Signed-off-by: JiÅ?í Techet <techet gmail com>

 docs/reference/Makefile.am |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 687513d..a2feaa6 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -51,9 +51,15 @@ CFILE_GLOB=$(top_srcdir)/champlain/*.c
 # e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h
 EXTRA_HFILES=
 
+if ENABLE_MEMPHIS
+ignored_headers=
+else
+ignored_headers=champlain-memphis-renderer.h
+endif
+
 # Header files to ignore when scanning. Use base file name, no paths
 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
-IGNORE_HFILES= champlain-debug.h champlain-enum-types.h champlain-private.h \
+IGNORE_HFILES= $(ignored_headers) champlain-debug.h champlain-enum-types.h champlain-private.h \
 	champlain.h champlain-marshal.h champlain-defines.h champlain-features.h
 
 # Images to copy into HTML directory.



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