summaryrefslogtreecommitdiff
path: root/help
diff options
context:
space:
mode:
authorLogan Rathbone <poprocks@gmail.com>2021-06-08 22:55:49 -0400
committerLogan Rathbone <poprocks@gmail.com>2021-06-08 22:55:49 -0400
commitae51b769019ea5e4c32ec6e386f3d2183562c1cb (patch)
tree7944059592bcd59a662a35c18705c6c242263217 /help
parent0b5313bc006fa0f42f5f522de5b32cf2f77b39ac (diff)
downloadzenity-ae51b769019ea5e4c32ec6e386f3d2183562c1cb.tar.gz
Port build system from autotools to meson.
Diffstat (limited to 'help')
-rw-r--r--help/LINGUAS1
-rw-r--r--help/Makefile.am45
-rw-r--r--help/meson.build48
3 files changed, 49 insertions, 45 deletions
diff --git a/help/LINGUAS b/help/LINGUAS
new file mode 100644
index 0000000..9940fa3
--- /dev/null
+++ b/help/LINGUAS
@@ -0,0 +1 @@
+bg ca cs da de el en_GB es eu fi fr gl hu ja oc pl pt_BR ru sl sv uk zh_CN
diff --git a/help/Makefile.am b/help/Makefile.am
deleted file mode 100644
index d790472..0000000
--- a/help/Makefile.am
+++ /dev/null
@@ -1,45 +0,0 @@
-@YELP_HELP_RULES@
-
-HELP_ID = zenity
-
-HELP_MEDIA = \
- figures/zenity-calendar-screenshot.png \
- figures/zenity-colorselection-screenshot.png \
- figures/zenity-entry-screenshot.png \
- figures/zenity-error-screenshot.png \
- figures/zenity-fileselection-screenshot.png \
- figures/zenity-forms-screenshot.png \
- figures/zenity-information-screenshot.png \
- figures/zenity-list-screenshot.png \
- figures/zenity-notification-listen-screenshot.png \
- figures/zenity-notification-screenshot.png \
- figures/zenity-password-screenshot.png \
- figures/zenity-progress-screenshot.png \
- figures/zenity-question-screenshot.png \
- figures/zenity-scale-screenshot.png \
- figures/zenity-text-screenshot.png \
- figures/zenity-warning-screenshot.png
-
-HELP_FILES = \
- legal.xml \
- calendar.page \
- color-selection.page \
- entry.page \
- error.page \
- file-selection.page \
- forms.page \
- index.page \
- info.page \
- intro.page \
- list.page \
- message.page \
- notification.page \
- password.page \
- progress.page \
- question.page \
- scale.page \
- text.page \
- usage.page \
- warning.page
-
-HELP_LINGUAS = bg ca cs da de el en_GB es eu fi fr gl hu ja oc pl pt_BR ru sl sv uk zh_CN
diff --git a/help/meson.build b/help/meson.build
new file mode 100644
index 0000000..cd09412
--- /dev/null
+++ b/help/meson.build
@@ -0,0 +1,48 @@
+help_pages = [
+ 'legal.xml',
+ 'calendar.page',
+ 'color-selection.page',
+ 'entry.page',
+ 'error.page',
+ 'file-selection.page',
+ 'forms.page',
+ 'index.page',
+ 'info.page',
+ 'intro.page',
+ 'list.page',
+ 'message.page',
+ 'notification.page',
+ 'password.page',
+ 'progress.page',
+ 'question.page',
+ 'scale.page',
+ 'text.page',
+ 'usage.page',
+ 'warning.page'
+]
+
+help_media = [
+ 'figures/zenity-calendar-screenshot.png',
+ 'figures/zenity-colorselection-screenshot.png',
+ 'figures/zenity-entry-screenshot.png',
+ 'figures/zenity-error-screenshot.png',
+ 'figures/zenity-fileselection-screenshot.png',
+ 'figures/zenity-forms-screenshot.png',
+ 'figures/zenity-information-screenshot.png',
+ 'figures/zenity-list-screenshot.png',
+ 'figures/zenity-notification-listen-screenshot.png',
+ 'figures/zenity-notification-screenshot.png',
+ 'figures/zenity-password-screenshot.png',
+ 'figures/zenity-progress-screenshot.png',
+ 'figures/zenity-question-screenshot.png',
+ 'figures/zenity-scale-screenshot.png',
+ 'figures/zenity-text-screenshot.png',
+ 'figures/zenity-warning-screenshot.png'
+]
+
+gnome.yelp(
+ meson.project_name(),
+ sources: help_pages,
+ media: help_media,
+ symlink_media: false
+)