[gnome-bluetooth] Port to new documentation infrastructure



commit f147feff5c32a627dc85ce8d9360f8d911bf8c4b
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Aug 8 15:32:44 2012 -0400

    Port to new documentation infrastructure
    
    This commit uses yelp-tools instead of gnome-doc-utils.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=681266

 Makefile.am                                   |    4 ++--
 configure.ac                                  |    2 +-
 help/C/{gnome-bluetooth.xml => index.docbook} |    0
 help/Makefile.am                              |   16 +++++++---------
 4 files changed, 10 insertions(+), 12 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 60c951f..1ea7333 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,13 +6,13 @@ if ENABLE_DOCUMENTATION
 SUBDIRS += help
 endif
 
-EXTRA_DIST = intltool-extract.in intltool-update.in intltool-merge.in ChangeLog.pre-2.27 gtk-doc.make gnome-doc-utils.make
+EXTRA_DIST = intltool-extract.in intltool-update.in intltool-merge.in ChangeLog.pre-2.27 gtk-doc.make
 
 DISTCHECK_CONFIGURE_FLAGS = --disable-schemas-install \
 	--disable-desktop-update --disable-mime-update --disable-icon-update \
 	--enable-gtk-doc --disable-scrollkeeper --enable-introspection
 
-DISTCLEANFILES = intltool-extract intltool-update intltool-merge gnome-doc-utils.make
+DISTCLEANFILES = intltool-extract intltool-update intltool-merge
 
 MAINTAINERCLEANFILES = Makefile.in \
 	aclocal.m4 configure config.h.in config.sub config.guess \
diff --git a/configure.ac b/configure.ac
index 534a253..0ce7a9b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -151,7 +151,7 @@ AC_ARG_ENABLE([documentation],
 	[], [enable_documentation=yes])
 AM_CONDITIONAL(ENABLE_DOCUMENTATION, test x$enable_documentation = xyes)
 
-GNOME_DOC_INIT
+YELP_HELP_INIT
 
 AC_OUTPUT(Makefile
 	  gnome-bluetooth-1.0.pc
diff --git a/help/C/gnome-bluetooth.xml b/help/C/index.docbook
similarity index 100%
rename from help/C/gnome-bluetooth.xml
rename to help/C/index.docbook
diff --git a/help/Makefile.am b/help/Makefile.am
index ae84655..156837a 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -1,12 +1,10 @@
-include $(top_srcdir)/gnome-doc-utils.make
-dist-hook: doc-dist-hook
-DOC_MODULE = gnome-bluetooth
-DOC_ENTITIES = legal.xml
-DOC_H_DOCS = C/gnome-bluetooth.xml
-DOC_INCLUDES = 
-DOC_FIGURES = \
+ YELP_HELP_RULES@
+
+HELP_ID = gnome-bluetooth
+HELP_FILES = legal.xml index.docbook
+HELP_MEDIA = \
 	figures/bluetooth-applet.png		\
 	figures/bluetooth-properties.png	\
 	figures/bluetooth-wizard.png
-	
-DOC_LINGUAS = ca cs da de el es fi fr gl id ko pa ro ru sl sv te th zh_CN zh_HK zh_TW
+
+HELP_LINGUAS = ca cs da de el es fi fr gl id ko pa ro ru sl sv te th zh_CN zh_HK zh_TW



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