Sorted arrays alphabetically

pull/4546/head
Daniel Mensinger 6 years ago
parent 1f48aa595d
commit 1759fc8f45
No known key found for this signature in database
GPG Key ID: 54DD94C131E277D4
  1. 22
      mesonbuild/mconf.py
  2. 22
      mesonbuild/mintro.py

@ -115,21 +115,21 @@ class Conf:
print(' Source dir', self.build.environment.source_dir)
print(' Build dir ', self.build.environment.build_dir)
dir_option_names = ['prefix',
'libdir',
'libexecdir',
'bindir',
'sbindir',
'includedir',
dir_option_names = ['bindir',
'datadir',
'mandir',
'includedir',
'infodir',
'libdir',
'libexecdir',
'localedir',
'sysconfdir',
'localstatedir',
'sharedstatedir']
test_option_names = ['stdsplit',
'errorlogs']
'mandir',
'prefix',
'sbindir',
'sharedstatedir',
'sysconfdir']
test_option_names = ['errorlogs',
'stdsplit']
core_option_names = [k for k in self.coredata.builtins if k not in dir_option_names + test_option_names]
dir_options = {k: o for k, o in self.coredata.builtins.items() if k in dir_option_names}

@ -125,21 +125,21 @@ def list_target_files(target_name, coredata, builddata):
def list_buildoptions(coredata, builddata):
optlist = []
dir_option_names = ['prefix',
'libdir',
'libexecdir',
'bindir',
'sbindir',
'includedir',
dir_option_names = ['bindir',
'datadir',
'mandir',
'includedir',
'infodir',
'libdir',
'libexecdir',
'localedir',
'sysconfdir',
'localstatedir',
'sharedstatedir']
test_option_names = ['stdsplit',
'errorlogs']
'mandir',
'prefix',
'sbindir',
'sharedstatedir',
'sysconfdir']
test_option_names = ['errorlogs',
'stdsplit']
core_option_names = [k for k in coredata.builtins if k not in dir_option_names + test_option_names]
dir_options = {k: o for k, o in coredata.builtins.items() if k in dir_option_names}

Loading…
Cancel
Save