Commit 00a5ba2f authored by David King's avatar David King
Browse files

Build and install Mallard help

parent 90684b88
Makefile
Makefile.in
/INSTALL
/Makefile.in
/autom4te.cache/
/build-aux/
/data/.dstamp
......
......@@ -4,7 +4,7 @@ DISTCHECK_CONFIGURE_FLAGS = \
--enable-appdata-validate \
--enable-tests
SUBDIRS = po
SUBDIRS = help po
bin_PROGRAMS = gnome-logs
......
......@@ -2,5 +2,5 @@ GNOME Logs is a log viewer for the systemd journal
https://wiki.gnome.org/Apps/Logs
It depends on GTK+ 3.10 or above and libsystemd-journal at build time, and
gsettings-desktop-schemas at runtime.
It depends on GTK+ 3.10 or above, itstool and libsystemd-journal at build time,
and gsettings-desktop-schemas at runtime.
......@@ -64,6 +64,9 @@ AM_CONDITIONAL([ENABLE_MAN], [test "x$have_manutils" = "xyes"])
dnl AppData XML
APPDATA_XML
dnl Mallard Help
YELP_HELP_INIT
dnl Testing utilities.
AC_ARG_ENABLE([tests],
[AS_HELP_STRING([--disable-tests], [Disable support for tests run during make check])])
......@@ -91,6 +94,7 @@ PKG_CHECK_MODULES([LOGS], [$GIO_REQUIRED $GTK_REQUIRED $SYSTEMD_JOURNAL_REQUIRED
AC_CONFIG_FILES([
data/version.xml
help/Makefile
Makefile
po/Makefile.in
])
......
@YELP_HELP_RULES@
HELP_ID = gnome-logs
HELP_FILES = \
index.page \
introduction.page \
legal.xml \
permissions.page
HELP_MEDIA = \
media/gnome-logs.png \
media/gnome-logs-3-12.png
......@@ -64,8 +64,7 @@ on_help (GSimpleAction *action,
application = GTK_APPLICATION (user_data);
parent = gtk_application_get_active_window (application);
/* TODO: Add link to application help instead. */
gtk_show_uri (gtk_window_get_screen (parent), PACKAGE_URL,
gtk_show_uri (gtk_window_get_screen (parent), "help:gnome-logs",
GDK_CURRENT_TIME, &error);
if (error)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment