[gnome-packagekit] Port to new documentation infrastructure
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-packagekit] Port to new documentation infrastructure
- Date: Mon, 6 Aug 2012 12:10:32 +0000 (UTC)
commit b58c7606d60a6e1c1aa00a4efdcf80270e1bcb0b
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Aug 5 21:53:40 2012 -0400
Port to new documentation infrastructure
Use yelp-tools instead of gnome-doc-utils.
Makefile.am | 4 +---
configure.ac | 2 +-
help/C/{gnome-packagekit.xml => index.docbook} | 0
help/Makefile.am | 12 +++++-------
src/gpk-gnome.c | 4 ++--
5 files changed, 9 insertions(+), 13 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 0b4ba37..1478d78 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -14,9 +14,7 @@ EXTRA_DIST = \
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
- omf.make \
- xmldocs.make \
- gnome-doc-utils.make
+ omf.make
clean-local :
rm -f *~
diff --git a/configure.ac b/configure.ac
index 407f6fb..1828a36 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,7 +16,7 @@ AM_PROG_CC_C_O
IT_PROG_INTLTOOL([0.35.0])
GNOME_COMPILE_WARNINGS
-GNOME_DOC_INIT
+YELP_HELP_INIT
# set up gtk-doc
GTK_DOC_CHECK(1.9)
diff --git a/help/C/gnome-packagekit.xml b/help/C/index.docbook
similarity index 100%
rename from help/C/gnome-packagekit.xml
rename to help/C/index.docbook
diff --git a/help/Makefile.am b/help/Makefile.am
index 15dbf32..e22086b 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -1,10 +1,8 @@
-include $(top_srcdir)/gnome-doc-utils.make
-dist-hook: doc-dist-hook
+ YELP_HELP_RULES@
-DOC_MODULE = gnome-packagekit
-DOC_ENTITIES = legal.xml
-DOC_INCLUDES =
-DOC_FIGURES = \
+HELP_ID = gnome-packagekit
+HELP_FILES = legal.xml index.docbook
+HELP_MEDIA = \
figures/gpk-application-groups.png \
figures/gpk-client-copy-local.png \
figures/gpk-eula.png \
@@ -22,5 +20,5 @@ DOC_FIGURES = \
figures/gpk-service-pack-example.png \
figures/gpk-updates-warning.png
-DOC_LINGUAS = de el es fr gl oc pa pl sl sv zh_CN
+HELP_LINGUAS = de el es fr gl oc pa pl sl sv zh_CN
diff --git a/src/gpk-gnome.c b/src/gpk-gnome.c
index cf3e282..f4c1e0d 100644
--- a/src/gpk-gnome.c
+++ b/src/gpk-gnome.c
@@ -60,9 +60,9 @@ gpk_gnome_help (const gchar *link_id)
gboolean ret = TRUE;
if (link_id)
- uri = g_strconcat ("ghelp:gnome-packagekit?", link_id, NULL);
+ uri = g_strconcat ("help:gnome-packagekit?", link_id, NULL);
else
- uri = g_strdup ("ghelp:gnome-packagekit");
+ uri = g_strdup ("help:gnome-packagekit");
g_debug ("opening uri %s", uri);
gtk_show_uri (NULL, uri, GDK_CURRENT_TIME, &error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]