[genius] Support for gnome-doc-utils added
- From: Mario Blättermann <mariobl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [genius] Support for gnome-doc-utils added
- Date: Sat, 4 Dec 2010 20:30:05 +0000 (UTC)
commit 70da232853cabf0c832d8ce03735dd84923bc5be
Author: Mario Blättermann <mariobl gnome org>
Date: Sat Dec 4 21:26:33 2010 +0100
Support for gnome-doc-utils added
Makefile.am | 2 +
configure.in | 3 +-
help/C/Makefile.am | 26 -------------
help/C/genius-C.omf | 30 ---------------
help/C/genius.xml | 18 ++++++++-
help/Makefile.am | 38 +++++++++++++++++++-
help/genius.omf.in | 10 +++++
help/omf.make | 65 ---------------------------------
help/xmldocs.make | 101 ---------------------------------------------------
9 files changed, 67 insertions(+), 226 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index d98d4b0..a5a8ee5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -34,12 +34,14 @@ EXTRA_DIST = \
genius.mime \
genius.keys \
genius.applications \
+ gnome-doc-utils.make \
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
INSTALL.MacOSX
DISTCLEANFILES = \
+ gnome-doc-utils.make \
intltool-extract \
intltool-merge \
intltool-update
diff --git a/configure.in b/configure.in
index f65ffc6..daa9b04 100644
--- a/configure.in
+++ b/configure.in
@@ -256,6 +256,8 @@ AC_ARG_ENABLE(update-mimedb,
enable_update_mimedb=yes)
AM_CONDITIONAL(ENABLE_UPDATE_MIMEDB, test x$enable_update_mimedb = xyes)
+GNOME_DOC_INIT
+
AC_OUTPUT([
genius.spec
Makefile
@@ -278,7 +280,6 @@ pixmaps/32x32/Makefile
pixmaps/48x48/Makefile
po/Makefile.in
help/Makefile
-help/C/Makefile
])
echo "
diff --git a/help/C/genius.xml b/help/C/genius.xml
index e3551b2..4243614 100644
--- a/help/C/genius.xml
+++ b/help/C/genius.xml
@@ -8,6 +8,8 @@
<!ENTITY legal SYSTEM "legal.xml">
+ <!ENTITY manrevision "0.2">
+
<!ENTITY gel-function-list SYSTEM "gel-function-list.xml">
]>
@@ -23,7 +25,8 @@
<book id="index" lang="en">
<!-- please do not change the id; for translations, change lang to -->
<!-- appropriate code -->
- <bookinfo>
+ <bookinfo>
+ <abstract role="description">Manual for the Genius Math Tool.</abstract>
<title>&appname; Manual</title>
<copyright>
@@ -51,7 +54,7 @@
any of this. -->
<authorgroup>
- <author>
+ <author role="maintainer">
<firstname>Jiří</firstname>
<surname>Lebl</surname>
<affiliation>
@@ -130,6 +133,17 @@
</revhistory>
-->
+ <revhistory>
+ <revision>
+ <revnumber>&manrevision;</revnumber>
+ <date>&date;</date>
+ <revdescription>
+ <para role="author">Jiri (George) Lebl
+ <email>jirka 5z com</email>
+ </para>
+ </revdescription>
+ </revision>
+ </revhistory>
<releaseinfo>This manual describes version &appversion; of &appname;.
</releaseinfo>
<legalnotice>
diff --git a/help/Makefile.am b/help/Makefile.am
index 42ffacc..65cc951 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -1 +1,37 @@
-SUBDIRS = C
+include $(top_srcdir)/gnome-doc-utils.make
+
+dist-hook: doc-dist-hook
+
+DOC_MODULE = genius
+DOC_FIGURES = genius_window.eps \
+ line_plot_graph.eps \
+ parametric.eps \
+ parametric.png \
+ genius_window.png \
+ line_plot_graph.png \
+ parametric_graph.eps \
+ surface_graph.eps \
+ line_plot.eps \
+ line_plot.png \
+ parametric_graph.png \
+ surface_graph.png
+
+DOC_ENTITIES = gel-function-list.xml \
+ legal.xml
+
+DOC_LINGUAS = de
+
+#
+# Text version
+#
+
+# Run this by hand for now
+#genius.txt: genius.xml $(entities)
+# docbook2txt genius.xml
+# dos2unix -a genius.txt # for svn
+
+manualdir = $(datadir)/genius
+
+#manual_DATA = genius.txt
+
+#EXTRA_DIST = += genius.txt
diff --git a/help/genius.omf.in b/help/genius.omf.in
new file mode 100644
index 0000000..3925166
--- /dev/null
+++ b/help/genius.omf.in
@@ -0,0 +1,10 @@
+<?xml version="1.0" standalone="no"?>
+<omf>
+ <resource>
+ <subject category="System|Other"/>
+ <type>manual</type>
+ <identifier url="genius.xml"/>
+ <relation seriesid="cf2bed6a-3e28-11d6-88f3-c2f7a14f1d6b"/>
+ <rights type="GNU FDL" license.version="1.1" license="http://www.gnu.org/licenses/fdl.html" holder="Jiri Lebl and Kai Willadsen"/>
+ </resource>
+</omf>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]