diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-12-31 14:33:42 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-12-31 16:28:15 +0200 |
| commit | b55235dfbde37661d24881eb989ee651ed9289c5 (patch) | |
| tree | 5478d7a8483b30ec38338a0482bb52f8941b746c /mesonbuild/coredata.py | |
| parent | 504f974204c79a08d17224c2a91582a47c64fe68 (diff) | |
| download | meson-b55235dfbde37661d24881eb989ee651ed9289c5.tar.gz | |
Fix space before :.
Diffstat (limited to 'mesonbuild/coredata.py')
| -rw-r--r-- | mesonbuild/coredata.py | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/mesonbuild/coredata.py b/mesonbuild/coredata.py index 8d63a229c..376319df7 100644 --- a/mesonbuild/coredata.py +++ b/mesonbuild/coredata.py @@ -201,19 +201,19 @@ def get_builtin_option_default(optname): raise RuntimeError('Tried to get the default value for an unknown builtin option \'%s\'.' % optname) builtin_options = { - 'buildtype' : [ UserComboOption, 'Build type to use.', [ 'plain', 'debug', 'debugoptimized', 'release', 'minsize' ], 'debug' ], - 'strip' : [ UserBooleanOption, 'Strip targets on install.', False ], - 'unity' : [ UserBooleanOption, 'Unity build.', False ], - 'prefix' : [ UserStringOption, 'Installation prefix.', default_prefix() ], - 'libdir' : [ UserStringOption, 'Library directory.', default_libdir() ], - 'libexecdir' : [ UserStringOption, 'Library executable directory.', default_libexecdir() ], - 'bindir' : [ UserStringOption, 'Executable directory.', 'bin' ], - 'sbindir' : [ UserStringOption, 'System executable directory.', 'sbin' ], - 'includedir' : [ UserStringOption, 'Header file directory.', 'include' ], - 'datadir' : [ UserStringOption, 'Data file directory.', 'share' ], - 'mandir' : [ UserStringOption, 'Manual page directory.', 'share/man' ], - 'infodir' : [ UserStringOption, 'Info page directory.', 'share/info' ], - 'localedir' : [ UserStringOption, 'Locale data directory.', 'share/locale' ], + 'buildtype': [UserComboOption, 'Build type to use.', ['plain', 'debug', 'debugoptimized', 'release', 'minsize'], 'debug'], + 'strip': [UserBooleanOption, 'Strip targets on install.', False], + 'unity': [UserBooleanOption, 'Unity build.', False], + 'prefix': [UserStringOption, 'Installation prefix.', default_prefix()], + 'libdir': [UserStringOption, 'Library directory.', default_libdir()], + 'libexecdir': [UserStringOption, 'Library executable directory.', default_libexecdir()], + 'bindir': [UserStringOption, 'Executable directory.', 'bin'], + 'sbindir': [UserStringOption, 'System executable directory.', 'sbin'], + 'includedir': [UserStringOption, 'Header file directory.', 'include'], + 'datadir': [UserStringOption, 'Data file directory.', 'share'], + 'mandir': [UserStringOption, 'Manual page directory.', 'share/man'], + 'infodir': [UserStringOption, 'Info page directory.', 'share/info'], + 'localedir': [UserStringOption, 'Locale data directory.', 'share/locale'], # sysconfdir, localstatedir and sharedstatedir are a bit special. These defaults to ${prefix}/etc, # ${prefix}/var and ${prefix}/com but nobody uses that. Instead they always set it # manually to /etc, /var and /var/lib. This default values is thus pointless and not really used @@ -223,16 +223,16 @@ builtin_options = { # to set the following in project(): # # default_options : ['sysconfdir=/etc', 'localstatedir=/var', 'sharedstatedir=/var/lib'] - 'sysconfdir' : [ UserStringOption, 'Sysconf data directory.', 'etc' ], - 'localstatedir' : [ UserStringOption, 'Localstate data directory.', 'var' ], - 'sharedstatedir' : [ UserStringOption, 'Architecture-independent data directory.', 'com' ], - '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' ], - 'default_library' : [ UserComboOption, 'Default library type.', [ 'shared', 'static' ], 'shared' ], - 'backend' : [ UserComboOption, 'Backend to use.', backendlist, 'ninja' ], - 'stdsplit' : [ UserBooleanOption, 'Split stdout and stderr in test logs.', True ], - 'errorlogs' : [ UserBooleanOption, "Whether to print the logs from failing tests.", True ], + 'sysconfdir': [UserStringOption, 'Sysconf data directory.', 'etc'], + 'localstatedir': [UserStringOption, 'Localstate data directory.', 'var'], + 'sharedstatedir': [UserStringOption, 'Architecture-independent data directory.', 'com'], + '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'], + 'default_library': [UserComboOption, 'Default library type.', ['shared', 'static'], 'shared'], + 'backend': [UserComboOption, 'Backend to use.', backendlist, 'ninja'], + 'stdsplit': [UserBooleanOption, 'Split stdout and stderr in test logs.', True], + 'errorlogs': [UserBooleanOption, "Whether to print the logs from failing tests.", True], } forbidden_target_names = {'clean': None, |
