From b3c8d7d7a183775d280841c6bd4a6c5f77b77120 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Wed, 15 Jun 2011 17:48:28 +0200 Subject: 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 file changed, 19 insertions(+), 1 deletion(-) 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 = \ -- cgit v1.2.1