[nautilus-actions] Do not documente NAGconfMonitor class when deprecated symbols are disabled
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions] Do not documente NAGconfMonitor class when deprecated symbols are disabled
- Date: Wed, 16 Feb 2011 23:18:51 +0000 (UTC)
commit 2c354792e8ea8c2e0a8c944941abd421d91d4b21
Author: Pierre Wieser <pwieser trychlos org>
Date: Wed Feb 16 23:02:24 2011 +0100
Do not documente NAGconfMonitor class when deprecated symbols are disabled
ChangeLog | 3 +++
docs/reference/Makefile.am | 14 ++++++++++++--
2 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 978a787..53185e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2011-02-16 Pierre Wieser <pwieser trychlos org>
+ * docs/reference/Makefile.am:
+ Do not documente NAGconfMonitor class when deprecated symbols are disabled.
+
* src/api/na-data-boxed.h:
* src/api/na-gconf-utils.h:
* src/core/na-data-boxed.c:
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 132bdec..23cb312 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -56,12 +56,21 @@ core_headers = $(patsubst $(top_srcdir)/src/core/%,%,$(shell \ls -1 $(top_srcdir
content_files = $(shell \ls -1 *.xml)
content_files += $(auto_created_files)
+if !HAVE_GCONF
+ignore_headers = "--ignore-headers=na-gconf-monitor.h"
+else
+if !ENABLE_DEPRECATED
+ignore_headers = "--ignore-headers=na-gconf-monitor.h"
+endif
+endif
+
# Extra options to supply to gtkdoc-scan
# --ignore-headers="config.h devkit-disks-daemon-glue.h"
# --rebuild-sections
SCAN_OPTIONS = \
--rebuild-types \
--deprecated-guards=NA_DISABLE_DEPRECATED \
+ $(ignore_headers) \
$(NULL)
# The directory containing the source code. Relative to $(srcdir)
@@ -86,14 +95,14 @@ IGNORE_HFILES = \
# CFLAGS and LDFLAGS for compiling scan program.
# Only needed if $(DOC_MODULE).types is non-empty.
-AM_CPPFLAGS = \
+AM_CPPFLAGS += \
-I $(top_srcdir)/src \
$(NAUTILUS_ACTIONS_CFLAGS) \
$(NULL)
core_libdir = $(top_builddir)/src/core/.libs
-AM_LDFLAGS = \
+AM_LDFLAGS += \
$(NAUTILUS_ACTIONS_LIBS) \
$(core_libdir)/libna-core.so \
$(NULL)
@@ -152,6 +161,7 @@ version_dir.xml: version.xml
cat version.xml | $(SED) 's?^\([[:alnum:]]\.[[:alnum:]]\).*?\1?' > version_dir.xml
CLEANFILES += \
+ $(DOC_MODULE).types \
version_dir.xml \
$(NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]