summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2018-04-11 09:50:21 +0200
committerIñigo Martínez <inigomartinez@gmail.com>2018-04-11 09:51:25 +0200
commit5a1f2156ed8a64eaa26362e223326e96538f6821 (patch)
tree003e6a50475fe077aba83c9c3d3e8049c7038d38 /meson_options.txt
parent7c9c4d203a9a6b5d8b5d1e7e3467a8062be15e76 (diff)
downloaddconf-wip/inigomartinez/meson.tar.gz
build: Use completions dir from pkg-config filewip/inigomartinez/meson
The `bash-completions` pkg-config file provides a variable with the location of the completion files. This variable is checked to set the installation directory of the completion file provided by dconf. As a side note, the variable in the `bash-completions` pkg-config file is not totally correct, because it provides a directory that is relative to prefix while it should be relative to datadir. https://bugzilla.gnome.org/show_bug.cgi?id=790236
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 76e88ea..9c8e3e6 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,2 +1,3 @@
+option('bash_completion', type: 'boolean', value: true, description: 'install bash completion files')
option('man', type: 'boolean', value: true, description: 'generate man pages')
option('gtk_doc', type: 'boolean', value: false, description: 'use gtk-doc to build documentation')