[gnote/meson] Build help using meson



commit 3ede70b9077c3a32bec8eae18fde177548dd4dc9
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun Mar 28 21:43:04 2021 +0300

    Build help using meson

 help/LINGUAS     | 15 +++++++++++++++
 help/meson.build | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 meson.build      |  2 ++
 3 files changed, 75 insertions(+)
---
diff --git a/help/LINGUAS b/help/LINGUAS
new file mode 100644
index 00000000..cb088846
--- /dev/null
+++ b/help/LINGUAS
@@ -0,0 +1,15 @@
+# Please keep this list sorted alphabetically
+cs
+da
+de
+el
+es
+fr
+hu
+lt
+pl
+ru
+sl
+sv
+uk
+zh_CN
diff --git a/help/meson.build b/help/meson.build
new file mode 100644
index 00000000..4667138a
--- /dev/null
+++ b/help/meson.build
@@ -0,0 +1,58 @@
+help_media = [
+  'figures/add-notebook-search.png',
+  'figures/add-to-notebook.png',
+  'figures/delete-notebook.png',
+  'figures/gnote-addin-table-of-contents.png',
+  'figures/gnote-new-note.png',
+  'figures/gnote-pindown.png',
+  'figures/gnote-pinup.png',
+  'figures/gnote-preferences-add-ins.png',
+  'figures/gnote-preferences-editing.png',
+  'figures/gnote-preferences-synchronization.png',
+  'figures/gnote-search-all-notes.png',
+  'figures/gnote-syncprefs-advanced.png',
+  'figures/gnote-syncprefs-gvfs.png',
+  'figures/gnote-syncprefs-local.png',
+  'figures/gnote-syncprefs-webdav.png',
+  'figures/gnote-sync-progress.png',
+  'figures/gnote-template-note.png',
+  'figures/gnote-tools.png',
+  'figures/logo32.png',
+  'figures/notebook-icon.png',
+  'figures/note-template.png',
+]
+
+help_files = [
+  'gnote-addin-bugzillalink.page',
+  'gnote-addin-fixedwidth.page',
+  'gnote-addin-html.page',
+  'gnote-addin-notedirwatcher.page',
+  'gnote-addin-noteoftheday.page',
+  'gnote-addin-print.page',
+  'gnote-addins-preferences.page',
+  'gnote-addin-readonly.page',
+  'gnote-addin-replacetitle.page',
+  'gnote-addin-specialnotes.page',
+  'gnote-addin-sync-gvfs.page',
+  'gnote-addin-sync-local.page',
+  'gnote-addin-sync-webdav.page',
+  'gnote-addin-tableofcontents.page',
+  'gnote-addin-timestamp.page',
+  'gnote-addin-underline.page',
+  'gnote-bulleted-lists.page',
+  'gnote-common-problems.page',
+  'gnote-creating-notes.page',
+  'gnote-deleting-notes.page',
+  'gnote-editing-notes.page',
+  'gnote-introduction.page',
+  'gnote-links.page',
+  'gnote-notes-preferences.page',
+  'gnote-searching-notes.page',
+  'gnote-synchronization.page',
+  'gnote-template-notes.page',
+  'gnote-working-with-notebooks.page',
+  'index.page',
+]
+
+gnome.yelp(meson.project_name(), sources: help_files, media: help_media)
+
diff --git a/meson.build b/meson.build
index 89cc7229..2bc27f68 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,6 @@
 project('gnote', 'cpp', version: '41.alpha', meson_version: '>=0.49.0')
 
+gnome = import('gnome')
 i18n = import('i18n')
 
 gnote_release = meson.project_version().split('.')[0]
@@ -38,6 +39,7 @@ configure_file(
 root_include_dir = include_directories('.')
 
 subdir('data')
+subdir('help')
 subdir('src')
 subdir('po')
 


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