[shotwell/wip/autotools: 18/27] build: Hook up help



commit 46992439dc4ee961ca924e007cdfba5a2ac2edcf
Author: Jens Georg <mail jensge org>
Date:   Tue Jun 28 21:49:43 2016 +0200

    build: Hook up help
    
    https://bugzilla.gnome.org/show_bug.cgi?id=719200
    
    Signed-off-by: Jens Georg <mail jensge org>

 Makefile.am      |    2 +-
 configure.ac     |    5 +++++
 help/Makefile.am |   20 +++++++++++---------
 3 files changed, 17 insertions(+), 10 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 6c01084..e094de2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = po misc
+SUBDIRS = misc help po
 
 EXTRA_DIST = AUTHORS
 
diff --git a/configure.ac b/configure.ac
index 41d2cb2..c185f6f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -132,6 +132,10 @@ dnl ***********************************************************************
 LT_PREREQ([2.2])
 LT_INIT
 
+dnl ***********************************************************************
+dnl Help processing
+dnl ***********************************************************************
+YELP_HELP_INIT
 
 dnl ***********************************************************************
 dnl Process .in Files
@@ -141,6 +145,7 @@ AC_CONFIG_FILES([
        src/Makefile
     misc/Makefile
        po/Makefile.in
+    help/Makefile
 ],[],
 [API_VERSION='$API_VERSION'])
 AC_OUTPUT
diff --git a/help/Makefile.am b/help/Makefile.am
index 3ed819f..ad55012 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -1,16 +1,18 @@
 # Dummy Makefile.am to allow the help to be translated on l10n.gnome.org.
 # This isn't actually processed by automake.
 
-DOC_ID = shotwell
+ YELP_HELP_RULES@
 
-DOC_IMAGES = \
-       crop_thirds.jpg \
-       editing_overview.png \
-       edit_toolbar.png \
-       shotwell_logo.png \
-       trash_process.png
+HELP_ID = shotwell
 
-DOC_PAGES = \
+HELP_MEDIA = \
+       figures/crop_thirds.jpg \
+       figures/editing_overview.png \
+       figures/edit_toolbar.png \
+       figures/shotwell_logo.png \
+       figures/trash_process.png
+
+HELP_FILES = \
        edit-adjustments.page \
        edit-crop.page \
        edit-enhance.page \
@@ -50,4 +52,4 @@ DOC_PAGES = \
        view-information.page \
        view-sidebar.page
 
-DOC_LINGUAS = cs de el es hu pt_BR sv
+HELP_LINGUAS = cs de el es hu pt_BR sv


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