From: Tomas Bzatek Date: Wed, 15 Jun 2011 15:48:28 +0000 (+0200) Subject: Exclude headers that are not valid from gtkdoc generation X-Git-Tag: 1.29.1~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b3c8d7d7a183775d280841c6bd4a6c5f77b77120;p=platform%2Fupstream%2Fpango.git 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. --- 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 = \