[library-web] add hack to build gnumeric documentation
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] add hack to build gnumeric documentation
- Date: Sun, 26 Jan 2014 13:23:11 +0000 (UTC)
commit d98c5d6d3c1a78b411e5d60bb051a08228993eee
Author: Frédéric Péters <fpeters 0d be>
Date: Sun Jan 26 13:22:29 2014 +0000
add hack to build gnumeric documentation
https://bugzilla.gnome.org/show_bug.cgi?id=712730
data/extra-tarballs | 2 ++
src/lgo.py | 8 ++++++++
2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/data/extra-tarballs b/data/extra-tarballs
index 4fd4e90..638e441 100644
--- a/data/extra-tarballs
+++ b/data/extra-tarballs
@@ -91,3 +91,5 @@ gnome://libgit2-glib
# Glade 3.8 was never included in a moduleset, so we force it
# here. See https://bugzilla.gnome.org/show_bug.cgi?id=664801
gnome://glade3?min=3.8
+
+gnome://gnumeric?min=1.12
diff --git a/src/lgo.py b/src/lgo.py
index e984abc..0f8c579 100755
--- a/src/lgo.py
+++ b/src/lgo.py
@@ -536,6 +536,14 @@ class Lgo(App):
elif 'DOC_MODULE' in makefile_am and regex_gdu.findall(makefile_am):
logging.debug('found usage of docbook in %s' % tarinfo.name)
doc = GnomeDocbookModule.create_from_tar(tar, tarinfo, makefile_am, nightly)
+ elif 'gnumeric-doc.make' in makefile_am:
+ # special case for gnumeric own docbook build variant
+ if 'include $(top_srcdir)/doc/gnumeric-doc.make' in makefile_am:
+ continue
+ logging.debug('found usage of (gnumeric) docbook in %s' % tarinfo.name)
+ # fake things
+ makefile_am += '\nDOC_MODULE = gnumeric\n'
+ doc = GnomeDocbookModule.create_from_tar(tar, tarinfo, makefile_am, nightly)
elif 'include $(top_srcdir)/gtk-doc.make' in makefile_am or \
'include $(srcdir)/gtk-doc.make' in makefile_am or \
'include gtk-doc.make' in makefile_am or \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]