[libchamplain] Don't use memphis headers in docs when compiling with --disable-memphis



commit b96c85e17ce9f3701283187e9b0afe3ed8b2fb15
Author: JiÅ?í Techet <techet gmail com>
Date:   Mon May 31 01:07:27 2010 +0200

    Don't use memphis headers in docs when compiling with --disable-memphis
    
    Signed-off-by: JiÅ?í Techet <techet gmail com>

 Makefile.am                |    2 +-
 docs/reference/Makefile.am |   14 +++++++++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 072645a..37bb6a8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -31,7 +31,7 @@ endif
 pkgconfig_DATA = $(pcfiles)
 pkgconfigdir = $(libdir)/pkgconfig
 
-DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc --enable-gtk --enable-python --enable-memphis --enable-introspection
+DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc --enable-gtk --enable-python --enable-introspection
 
 EXTRA_DIST = \
 	champlain-gtk.pc.in \
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 0f01ddc..7871d27 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -51,9 +51,21 @@ CFILE_GLOB=
 # e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h
 EXTRA_HFILES=
 
+if ENABLE_MEMPHIS
+ignored_headers=
+else
+ignored_headers= \
+	champlain-memphis.h \
+	champlain-memphis-tile-source.h \
+	champlain-map-data-source.h \
+	champlain-local-map-data-source.h \
+	champlain-network-map-data-source.h \
+	champlain-bounding-box.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]