[gedit] doc: use --rebuild-types in SCAN_OPTIONS



commit 9c6c2fe18d6b8d7a9451e5a575061765650a257e
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Mar 8 14:52:48 2014 +0100

    doc: use --rebuild-types in SCAN_OPTIONS
    
    The gedit.types file is not needed anymore, it is automatically
    re-generated.

 docs/reference/Makefile.am     |    7 ++++++-
 docs/reference/gedit-docs.sgml |    3 ---
 docs/reference/gedit.types     |   32 --------------------------------
 3 files changed, 6 insertions(+), 36 deletions(-)
---
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 6945106..f43db65 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -16,7 +16,7 @@ DOC_SOURCE_DIR = ../../gedit
 
 # Extra options to supply to gtkdoc-scan.
 # e.g. SCAN_OPTIONS = --deprecated-guards="GTK_DISABLE_DEPRECATED" 
-SCAN_OPTIONS =
+SCAN_OPTIONS = --rebuild-types
 
 # Extra options to supply to gtkdoc-mkdb.
 MKDB_OPTIONS = --sgml-mode --output-format=xml
@@ -27,6 +27,9 @@ CFILE_GLOB = $(top_srcdir)/gedit/*.c
 
 # Header files to ignore when scanning (These are internal to gedit).
 IGNORE_HFILES =                                        \
+       gedit-app-osx.h                         \
+       gedit-app-win32.h                       \
+       gedit-app-x11.h                         \
        gedit-close-confirmation-dialog.h       \
        gedit-dirs.h                            \
        gedit-document-input-stream.h           \
@@ -80,6 +83,8 @@ GTKDOC_LIBS =                                         \
        $(top_builddir)/gedit/libgedit-private.la       \
        $(GEDIT_LIBS)
 
+MAINTAINERCLEANFILES = gedit.types
+
 # This includes the standard gtk-doc make rules, copied by gtkdocize.
 include $(top_srcdir)/gtk-doc.make
 
diff --git a/docs/reference/gedit-docs.sgml b/docs/reference/gedit-docs.sgml
index f680d1d..893d034 100644
--- a/docs/reference/gedit-docs.sgml
+++ b/docs/reference/gedit-docs.sgml
@@ -14,9 +14,7 @@
     <xi:include href="xml/gedit-encodings-combo-box.xml"/>
     <xi:include href="xml/gedit-file-chooser-dialog.xml"/>
     <xi:include href="xml/gedit-message-bus.xml"/>
-    <xi:include href="xml/gedit-message-type.xml"/>
     <xi:include href="xml/gedit-message.xml"/>
-    <xi:include href="xml/gedit-print-job-preview.xml"/>
     <xi:include href="xml/gedit-print-job.xml"/>
     <xi:include href="xml/gedit-progress-info-bar.xml"/>
     <xi:include href="xml/gedit-statusbar.xml"/>
@@ -27,7 +25,6 @@
     <xi:include href="xml/gedit-window-activatable.xml"/>
     <xi:include href="xml/gedit-debug.xml"/>
     <xi:include href="xml/gedit-encodings.xml"/>
-    <xi:include href="xml/gedit-help.xml"/>
     <xi:include href="xml/gedit-utils.xml"/>
   </chapter>
 </book>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]