[latexila] Autotools: handle the help/ directory
- From: SÃbastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] Autotools: handle the help/ directory
- Date: Tue, 4 Sep 2012 20:04:56 +0000 (UTC)
commit 2aa9bdddb6a2e1a786cbba4f10ef2d92099a95ab
Author: SÃbastien Wilmet <swilmet gnome org>
Date: Tue Sep 4 00:02:25 2012 +0200
Autotools: handle the help/ directory
Makefile.am | 2 +-
configure.ac | 5 ++++-
help/Makefile.am | 2 +-
src/main_window.vala | 2 +-
4 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index cdb7a18..477e978 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = data man po src
+SUBDIRS = data man po help src
EXTRA_DIST = \
HACKING \
diff --git a/configure.ac b/configure.ac
index 4e8f335..d448a1b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -103,6 +103,9 @@ AC_DEFINE_UNQUOTED([LOCALE_DIR],
["${LOCALE_DIR}"],
[locale directory])
+# Help documentation
+YELP_HELP_INIT
+
# GSettings
GLIB_GSETTINGS
@@ -127,11 +130,11 @@ AC_CONFIG_FILES([Makefile
data/icons/192x192/Makefile
data/images/Makefile
data/images/app/Makefile
+ help/Makefile
man/Makefile
po/Makefile.in
src/Makefile
src/gedit/Makefile
- src/resources/Makefile
src/ui/Makefile
README])
diff --git a/help/Makefile.am b/help/Makefile.am
index b3c1f37..7373e66 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -1,4 +1,4 @@
-# The unique purpose of this file is for GNOME Damned Lies integration
+ YELP_HELP_RULES@
HELP_ID = latexila
diff --git a/src/main_window.vala b/src/main_window.vala
index 9e902d4..96126b6 100644
--- a/src/main_window.vala
+++ b/src/main_window.vala
@@ -1106,7 +1106,7 @@ public class MainWindow : Window
{
try
{
- show_uri (this.get_screen (), "ghelp:latexila", Gdk.CURRENT_TIME);
+ show_uri (this.get_screen (), "help:latexila", Gdk.CURRENT_TIME);
}
catch (Error e)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]