summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Techet <techet@gmail.com>2010-05-31 01:07:27 +0200
committerJiří Techet <techet@gmail.com>2010-06-08 01:18:58 +0200
commiteb8d7a4d9c0f0533a22c6eb6923a5c742848f959 (patch)
treedfc2e651b6d66be3cdf05e849ed2ac417a4644eb
parent9017b8565502f4e44b274a56454991fb48c42856 (diff)
downloadlibchamplain-eb8d7a4d9c0f0533a22c6eb6923a5c742848f959.tar.gz
Don't use memphis headers in docs when compiling with --disable-memphis
Signed-off-by: Jiří Techet <techet@gmail.com>
-rw-r--r--Makefile.am2
-rw-r--r--docs/reference/Makefile.am14
2 files changed, 14 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 7ca3d21..25fe110 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-vala --enable-memphis --enable-introspection
+DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc --enable-gtk --enable-python --enable-vala --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.