aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-08-21 23:37:13 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2016-08-21 23:37:13 +0300
commita52154eba50a0338af423809e147cfe7da1468bd (patch)
treeef3adefe8b7e8c6602c454471dc08668606bf3ba /mesonbuild
parentc4ade561504ced22b92f7e3e233117683b82faec (diff)
downloadmeson-a52154eba50a0338af423809e147cfe7da1468bd.zip
meson-a52154eba50a0338af423809e147cfe7da1468bd.tar.gz
meson-a52154eba50a0338af423809e147cfe7da1468bd.tar.bz2
Change default and add explanatory comment for why we do that.
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/coredata.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/mesonbuild/coredata.py b/mesonbuild/coredata.py
index ae3db6d..2f1875f 100644
--- a/mesonbuild/coredata.py
+++ b/mesonbuild/coredata.py
@@ -211,7 +211,11 @@ builtin_options = {
'datadir' : [ UserStringOption, 'Data file directory.', 'share' ],
'mandir' : [ UserStringOption, 'Manual page directory.', 'share/man' ],
'localedir' : [ UserStringOption, 'Locale data directory.', 'share/locale' ],
- 'sysconfdir' : [ UserStringOption, 'Sysconf data directory.', '/etc' ],
+ # Sysconfdir is a bit special. It defaults to ${prefix}/etc but nobody
+ # uses that. Instead they always set it manually to /etc. This default
+ # value is thus pointless and not really used but we set it to this
+ # for consistency with other systems.
+ 'sysconfdir' : [ UserStringOption, 'Sysconf data directory.', 'etc' ],
'werror' : [ UserBooleanOption, 'Treat warnings as errors.', False ],
'warning_level' : [ UserComboOption, 'Compiler warning level to use.', [ '1', '2', '3' ], '1'],
'layout' : [ UserComboOption, 'Build directory layout.', ['mirror', 'flat' ], 'mirror' ],