[gtksourceview] GTK-Doc: use --rebuild-types in SCAN_OPTIONS



commit 3150b3ed91169407216f98afbb8245c8731a8bcb
Author: SÃbastien Wilmet <swilmet gnome org>
Date:   Wed Dec 19 13:30:54 2012 +0100

    GTK-Doc: use --rebuild-types in SCAN_OPTIONS
    
    The .types file is not needed anymore, it is automatically re-generated.
    The advantage is that it doesn't need to be updated manually in the
    future.
    
    The differences between the old .types and the new one:
    - the #include lines are removed;
    - gtk_source_completion_words_get_type is added.

 docs/reference/Makefile.am             |    6 +++-
 docs/reference/gtksourceview-3.0.types |   42 --------------------------------
 2 files changed, 4 insertions(+), 44 deletions(-)
---
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index fa6cc9e..90ffc96 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -8,7 +8,7 @@ DOC_MODULE = gtksourceview-3.0
 DOC_MAIN_SGML_FILE = gtksourceview-docs.xml
 
 # Extra options to supply to gtkdoc-scan
-SCAN_OPTIONS = --deprecated-guards='GTKSOURCEVIEW_DISABLE_DEPRECATED'
+SCAN_OPTIONS = --deprecated-guards='GTKSOURCEVIEW_DISABLE_DEPRECATED' --rebuild-types
 
 # The directory containing the source code. Relative to $(srcdir)
 DOC_SOURCE_DIR = $(top_srcdir)
@@ -75,7 +75,9 @@ FIXXREF_OPTIONS=
 GTKDOC_CFLAGS = -I$(top_srcdir) $(DEP_CFLAGS)
 GTKDOC_LIBS = $(top_builddir)/gtksourceview/libgtksourceview-3.0.la $(DEP_LIBS)
 
-MAINTAINERCLEANFILES = gtksourceview-3.0-overrides.txt
+MAINTAINERCLEANFILES =			\
+	gtksourceview-3.0-overrides.txt	\
+	gtksourceview-3.0.types
 
 # include common portion ...
 include $(top_srcdir)/gtk-doc.make



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