[pango] Exclude headers that are not valid from gtkdoc generation
- From: Tomas Bzatek <tbzatek src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] Exclude headers that are not valid from gtkdoc generation
- Date: Wed, 15 Jun 2011 15:51:06 +0000 (UTC)
commit b3c8d7d7a183775d280841c6bd4a6c5f77b77120
Author: Tomas Bzatek <tbzatek redhat com>
Date: Wed Jun 15 17:48:28 2011 +0200
Exclude headers that are not valid from gtkdoc generation
Also regenerate the types list to reflect the changes.
This still throws some warnings regarding non-existent declarations
that we excluded but allows us to distcheck on linux.
docs/Makefile.am | 20 +++++++++++++++++++-
1 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/docs/Makefile.am b/docs/Makefile.am
index b398e81..129f2cb 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -7,7 +7,7 @@ DOC_MODULE=pango
DOC_MAIN_SGML_FILE=pango-docs.sgml
# Extra options to supply to gtkdoc-scan
-SCAN_OPTIONS=--deprecated-guards="PANGO_DISABLE_DEPRECATED"
+SCAN_OPTIONS=--deprecated-guards="PANGO_DISABLE_DEPRECATED" --rebuild-types
# The directory containing the source code. Relative to $(srcdir)
DOC_SOURCE_DIR=../pango
@@ -45,6 +45,24 @@ IGNORE_HFILES= \
pango-script-lang-table.h \
pango-language-sample-table.h
+if HAVE_CORE_TEXT
+else
+IGNORE_HFILES+= \
+ pangocoretext.h \
+ pangocoretext-private.h \
+ pangocairo-coretext.h \
+ pangocairo-coretextfont.h
+endif
+
+if HAVE_CAIRO_ATSUI
+else
+IGNORE_HFILES+= \
+ pangoatsui.h \
+ pangoatsui-private.h \
+ pangocairo-atsui.h \
+ pangocairo-atsuifont.h
+endif
+
# CFLAGS and LDFLAGS for compiling scan program. Only needed
# if $(DOC_MODULE).types is non-empty.
INCLUDES = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]