SCons recipe: added version_suffix option.
This commit is contained in:
parent
3086efda50
commit
1a77b2c338
1 changed files with 4 additions and 3 deletions
|
@ -41,7 +41,7 @@ opts.AddOptions(
|
|||
BoolOption('fribidi','Clear to disable bidirectional-language support', True),
|
||||
BoolOption('desktop_entry','Clear to disable desktop-entry', True),
|
||||
PathOption('datarootdir', 'sets the root of data directories to a non-default location', "share", PathOption.PathAccept),
|
||||
PathOption('datadirname', 'sets the name of data directory', "wesnoth", PathOption.PathAccept),
|
||||
PathOption('datadirname', 'sets the name of data directory', "wesnoth$version_suffix", PathOption.PathAccept),
|
||||
PathOption('desktopdir', 'sets the desktop entry directory to a non-default location', "$datarootdir/applications", PathOption.PathAccept),
|
||||
BoolOption('editor2', 'set to build the new map editor in the "wesnoth" target', False),
|
||||
PathOption('icondir', 'sets the icons directory to a non-default location', "$datarootdir/icons", PathOption.PathAccept),
|
||||
|
@ -53,11 +53,12 @@ opts.AddOptions(
|
|||
BoolOption('lowmem', 'Set to reduce memory usage by removing extra functionality', False),
|
||||
BoolOption('nls','enable compile/install of gettext message catalogs',True),
|
||||
PathOption('prefix', 'autotools-style installation prefix', "/usr/local", PathOption.PathAccept),
|
||||
PathOption('prefsdir', 'user preferences directory', ".wesnoth", PathOption.PathAccept),
|
||||
PathOption('prefsdir', 'user preferences directory', ".wesnoth$version_suffix", PathOption.PathAccept),
|
||||
PathOption('destdir', 'prefix to add to all installation paths.', "", PathOption.PathAccept),
|
||||
PathOption('windows_release_dir', 'Directory where windows release will be prepared.', "", PathOption.PathAccept),
|
||||
BoolOption('prereqs','abort if prerequisites cannot be detected',True),
|
||||
('program_suffix', 'suffix to append to names of installed programs',""),
|
||||
('program_suffix', 'suffix to append to names of installed programs',"$version_suffix"),
|
||||
('version_suffix', 'suffix that will be added to default values of prefsdir, program_suffix and datadirname', ""),
|
||||
BoolOption('python', 'Enable in-game python extensions.', True),
|
||||
BoolOption('raw_sockets', 'Set to use raw receiving sockets in the multiplayer network layer rather than the SDL_net facilities', False),
|
||||
('server_gid', 'group id of the user who runs wesnothd', ""),
|
||||
|
|
Loading…
Add table
Reference in a new issue