summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2011-06-15 17:48:28 +0200
committerTomas Bzatek <tbzatek@redhat.com>2011-06-15 17:48:28 +0200
commitb3c8d7d7a183775d280841c6bd4a6c5f77b77120 (patch)
treea5a95049581a33b8ba591fcb5047f9b70acd52f6
parentb895d225346084dd9bd167c39ae1f3e2c2526252 (diff)
downloadpango-b3c8d7d7a183775d280841c6bd4a6c5f77b77120.tar.gz
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.
-rw-r--r--docs/Makefile.am20
1 files changed, 19 insertions, 1 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am
index b398e811..129f2cb3 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 = \