From e4c5d60ee2f54bf4db3057483214e50ffd140c6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Fri, 10 Aug 2012 02:40:15 +0900 Subject: [PATCH] Port to new documentation infrastructure --- Makefile.am | 6 ++---- configure.ac | 2 +- help/C/legal.xml | 2 +- help/Makefile.am | 13 ++++++------- src/util.c | 2 +- 5 files changed, 11 insertions(+), 14 deletions(-) diff --git a/Makefile.am b/Makefile.am index f488138..1e51c3e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -13,14 +13,12 @@ EXTRA_DIST = \ ChangeLog \ NEWS \ README \ - AUTHORS \ - gnome-doc-utils.make + AUTHORS DISTCLEANFILES = \ intltool-extract \ intltool-merge \ - intltool-update \ - gnome-doc-utils.make + intltool-update DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper diff --git a/configure.ac b/configure.ac index 17baa71..993fdfa 100644 --- a/configure.ac +++ b/configure.ac @@ -119,7 +119,7 @@ AM_GLIB_GNU_GETTEXT # ******************************* # User manual # ******************************* -GNOME_DOC_INIT +YELP_HELP_INIT # ******************************* diff --git a/help/C/legal.xml b/help/C/legal.xml index ac97e1d..899282c 100644 --- a/help/C/legal.xml +++ b/help/C/legal.xml @@ -6,7 +6,7 @@ by the Free Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. You can find a copy of the GFDL at this link or in the file COPYING-DOCS + url="help:fdl">link or in the file COPYING-DOCS distributed with this manual. This manual is part of a collection of GNOME manuals diff --git a/help/Makefile.am b/help/Makefile.am index 473f7e2..eca0e99 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_ID = zenity -DOC_INCLUDES = legal.xml +HELP_ID = zenity -DOC_FIGURES = \ +HELP_MEDIA = \ figures/zenity-calendar-screenshot.png \ figures/zenity-colorselection-screenshot.png \ figures/zenity-entry-screenshot.png \ @@ -21,7 +19,8 @@ DOC_FIGURES = \ figures/zenity-text-screenshot.png \ figures/zenity-warning-screenshot.png -DOC_PAGES = \ +HELP_FILES = \ + legal.xml \ calendar.page \ color-selection.page \ entry.page \ @@ -42,4 +41,4 @@ DOC_PAGES = \ usage.page \ warning.page -DOC_LINGUAS = bg ca cs da de el en_GB es eu fi fr gl hu ja oc pt_BR ru sl sv uk zh_CN +HELP_LINGUAS = bg ca cs da de el en_GB es eu fi fr gl hu ja oc pt_BR ru sl sv uk zh_CN diff --git a/src/util.c b/src/util.c index 440c7de..1fb8e32 100644 --- a/src/util.c +++ b/src/util.c @@ -252,7 +252,7 @@ zenity_util_show_help (GError **error) if (tmp) { g_free (tmp); - g_spawn_command_line_async ("yelp ghelp:zenity", error); + g_spawn_command_line_async ("yelp help:zenity", error); } }