summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-12-19 13:33:09 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-12-21 13:43:20 +0100
commite1ca734edd17a90a325d5b566a4ea96e66c206e5 (patch)
treef19fe15b399dc22c6edfb0a542d4adb4953e8668 /meson_options.txt
parente4d5753bd094cf542f54edbbd58417a5394f5384 (diff)
downloadsystemd-e1ca734edd17a90a325d5b566a4ea96e66c206e5.tar.gz
meson: allow setting the version string during configuration
This will be useful when building distro packages, because we can set the version string to the rpm/dpkg/whatever version string, and getter reports from end users.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 1423b8998e..42693bc47c 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,6 +1,9 @@
# -*- mode: meson -*-
# SPDX-License-Identifier: LGPL-2.1+
+option('version-tag', type : 'string',
+ description : 'override the git version string')
+
option('split-usr', type : 'combo', choices : ['auto', 'true', 'false'],
description : '''/bin, /sbin aren't symlinks into /usr''')
option('split-bin', type : 'combo', choices : ['auto', 'true', 'false'],