[clutter-gtk] docs: Remove unnecessary ancillary version file



commit 8d1fcc8e4c1939d52fb7ae46c368ac803c6770d7
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Mar 28 16:26:17 2017 +0100

    docs: Remove unnecessary ancillary version file
    
    GTK-Doc exposes the various package metadata as entities to be included
    already.

 configure.ac                 |    3 +--
 doc/Makefile.am              |    3 +--
 doc/clutter-gtk-1.0-docs.xml |   23 ++++++++---------------
 doc/version.xml.in           |    1 -
 4 files changed, 10 insertions(+), 20 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index b8dd3cb..a5cc8a7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -198,7 +198,7 @@ AC_SUBST(GTK_PREFIX)
 AC_SUBST(GDK_PIXBUF_PREFIX)
 AC_SUBST(CLUTTER_PREFIX)
 
-GTK_DOC_CHECK([1.14], [--flavour=no-tmpl])
+GTK_DOC_CHECK([1.24], [--flavour=no-tmpl])
 
 GOBJECT_INTROSPECTION_CHECK([0.9.12])
 
@@ -211,7 +211,6 @@ AC_CONFIG_FILES([
         clutter-gtk/gtk-clutter-version.h
         
         doc/Makefile
-        doc/version.xml
 
         examples/Makefile
 
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 92125bf..c22cef8 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -61,7 +61,7 @@ HTML_IMAGES=
 
 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
 # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
-content_files=version.xml
+content_files=
 
 # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
 # These files must be listed here *and* in content_files
@@ -82,4 +82,3 @@ include $(top_srcdir)/gtk-doc.make
 
 # Other files to distribute
 # e.g. EXTRA_DIST += version.xml.in
-EXTRA_DIST += version.xml.in
diff --git a/doc/clutter-gtk-1.0-docs.xml b/doc/clutter-gtk-1.0-docs.xml
index 76c5d7a..c89a361 100644
--- a/doc/clutter-gtk-1.0-docs.xml
+++ b/doc/clutter-gtk-1.0-docs.xml
@@ -1,13 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-               "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"; [
-<!ENTITY version SYSTEM "version.xml">
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd";
+[
+  <!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
+  <!ENTITY % gtkdocentities SYSTEM "xml/gtkdocentities.ent">
+  %gtkdocentities;
 ]>
 
 <book id="clutter-gtk" lang="en" xmlns:xi="http://www.w3.org/2003/XInclude";>
   <bookinfo>
-    <title>Clutter-Gtk &version; Reference Manual</title>
-    <releaseinfo>Version &version;</releaseinfo>
+    <title>Clutter-Gtk 1.0 Reference Manual</title>
+    <releaseinfo>for Clutter-GTK &package_version;</releaseinfo>
 
     <copyright>
       <year>2006, 2007, 2008, 2009</year>
@@ -99,21 +102,11 @@
     <xi:include href="xml/api-index-1.0.xml"><xi:fallback /></xi:include>
   </index>
 
-  <index role="1.2">
-    <title>Index of new symbols in 1.2</title>
-    <xi:include href="xml/api-index-1.2.xml"><xi:fallback /></xi:include>
-  </index>
-
   <index role="1.4">
     <title>Index of new symbols in 1.4</title>
     <xi:include href="xml/api-index-1.4.xml"><xi:fallback /></xi:include>
   </index>
 
-  <index role="1.6">
-    <title>Index of new symbols in 1.6</title>
-    <xi:include href="xml/api-index-1.6.xml"><xi:fallback /></xi:include>
-  </index>
-
   <index role="deprecated">
     <title>Index of deprecated symbols</title>
     <xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>


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