[gxml] Fixes to build documentation



commit a997fbee05b5ee28b97b31234a55b92942859565
Author: Daniel Espinosa <esodan gmail com>
Date:   Thu Apr 14 17:49:25 2016 -0500

    Fixes to build documentation

 docs/valadoc/devhelp/Makefile.am       |   26 +-
 docs/valadoc/gir-docs/Makefile.am      |    3 +-
 docs/valadoc/gtk-doc/Makefile.am       |    3 +-
 gxml/SerializableXOM-InternalNode.vala |  389 --------------------------------
 gxml/SerializableXOM.vala              |  332 ---------------------------
 gxml/TrDocument.vala                   |   28 ---
 gxml/gxml-init.vala                    |   43 ++--
 7 files changed, 39 insertions(+), 785 deletions(-)
---
diff --git a/docs/valadoc/devhelp/Makefile.am b/docs/valadoc/devhelp/Makefile.am
index 943c25d..46c9fe2 100644
--- a/docs/valadoc/devhelp/Makefile.am
+++ b/docs/valadoc/devhelp/Makefile.am
@@ -4,7 +4,7 @@ CLEANFILES=
 VALADOC_FLAGS = \
        --driver $(VALAC_VERSION) \
        --force \
-       --package-name=gxml-$(API_VERSION) \
+       --package-name=GXml-$(API_VERSION) \
        --package-version=$(PACKAGE_VERSION) \
        --pkg glib-2.0 \
        --pkg gio-2.0 \
@@ -19,25 +19,25 @@ sources= \
        $(top_srcdir)/gxml/*.vala
 
 
-gxmldocdir=$(datadir)/devhelp/books/gxml-$(API_VERSION)
+gxmldocdir=$(datadir)/devhelp/books/GXml-$(API_VERSION)
 gxmldoc_DATA = \
-       gxml/gxml-$(API_VERSION)/gxml-$(API_VERSION).devhelp2 \
-       gxml/gxml-$(API_VERSION)/*.png \
-       gxml/gxml-$(API_VERSION)/*.html \
-       gxml/gxml-$(API_VERSION)/*.htm \
-       gxml/gxml-$(API_VERSION)/*.css \
-       gxml/gxml-$(API_VERSION)/*.js
-
-gxmldocimgdir=$(datadir)/devhelp/books/gxml-$(API_VERSION)/img
+       GXml/GXml-$(API_VERSION)/GXml-$(API_VERSION).devhelp2 \
+       GXml/GXml-$(API_VERSION)/*.png \
+       GXml/GXml-$(API_VERSION)/*.html \
+       GXml/GXml-$(API_VERSION)/*.htm \
+       GXml/GXml-$(API_VERSION)/*.css \
+       GXml/GXml-$(API_VERSION)/*.js
+
+gxmldocimgdir=$(datadir)/devhelp/books/GXml-$(API_VERSION)/img
 gxmldocimg_DATA=\
-       gxml/gxml-$(API_VERSION)/img/*
+       GXml/GXml-$(API_VERSION)/img/*
 
 $(gxmldoc_DATA) $(gxmldocimg_DATA): gxml-doc
 
 gxml-doc:
-       $(VALADOC) -o gxml --doclet=devhelp $(VALADOC_FLAGS) $(sources)
+       $(VALADOC) -o GXml --doclet=devhelp $(VALADOC_FLAGS) $(sources)
 
 clean-local: clean-local-gxml-doc
 .PHONY: clean-local-gxml-doc
 clean-local-gxml-doc:
-       -rm -rf gxml
+       -rm -rf GXml
diff --git a/docs/valadoc/gir-docs/Makefile.am b/docs/valadoc/gir-docs/Makefile.am
index eb75518..419625a 100644
--- a/docs/valadoc/gir-docs/Makefile.am
+++ b/docs/valadoc/gir-docs/Makefile.am
@@ -12,7 +12,8 @@ VALADOC_FLAGS = \
        --pkg gee-0.8 \
        --vapidir=$(top_srcdir)/gxml \
        --vapidir=$(top_srcdir)/vapi \
-       $(top_srcdir)/vapi/xlibxml-1.0.vapi
+       $(top_srcdir)/vapi/xlibxml-1.0.vapi \
+       $(top_srcdir)/vapi/config.vapi
 
 sources= \
        $(top_srcdir)/gxml/*.vala
diff --git a/docs/valadoc/gtk-doc/Makefile.am b/docs/valadoc/gtk-doc/Makefile.am
index ac8df66..91150c2 100644
--- a/docs/valadoc/gtk-doc/Makefile.am
+++ b/docs/valadoc/gtk-doc/Makefile.am
@@ -12,7 +12,8 @@ VALADOC_FLAGS = \
        --pkg gee-0.8 \
        --vapidir=$(top_srcdir)/gxml \
        --vapidir=$(top_srcdir)/vapi \
-       $(top_srcdir)/vapi/xlibxml-1.0.vapi
+       $(top_srcdir)/vapi/xlibxml-1.0.vapi \
+       $(top_srcdir)/vapi/config.vapi
 
 sources= \
        $(top_srcdir)/gxml/*.vala
diff --git a/gxml/gxml-init.vala b/gxml/gxml-init.vala
index 51216d1..fe2b34f 100644
--- a/gxml/gxml-init.vala
+++ b/gxml/gxml-init.vala
@@ -1,11 +1,11 @@
-/**
- *  GXml
- *
- *  Authors:
- *
- *       Daniel Espinosa <esodan gmail com>
- *
- *
+/*
+ *  GXml
+ *
+ *  Authors:
+ *
+ *       Daniel Espinosa <esodan gmail com>
+ *
+ *
  *  Copyright (c) 2015 Daniel Espinosa
  *  
  *  This library is free software; you can redistribute it and/or
@@ -21,16 +21,17 @@
  *  You should have received a copy of the GNU Lesser General Public
  *  License along with this library; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- */
-namespace GXml {
-  class Init {
-    private static bool initialized = false;
-    public static void init () {
-      if (!initialized) {
-        GLib.Intl.textdomain(Config.GETTEXT_PACKAGE);
-        GLib.Intl.bindtextdomain(Config.GETTEXT_PACKAGE, Config.PACKAGE_LOCALE_DIR);
-       initialized = true;
-      }
-    }
-  }
-}
\ No newline at end of file
+ */
+
+namespace GXml {
+  class Init {
+    private static bool initialized = false;
+    public static void init () {
+      if (!initialized) {
+        GLib.Intl.textdomain(Config.GETTEXT_PACKAGE);
+        GLib.Intl.bindtextdomain(Config.GETTEXT_PACKAGE, Config.PACKAGE_LOCALE_DIR);
+       initialized = true;
+      }
+    }
+  }
+}


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