Author: loonycyborg
Date: Fri Jun 13 10:42:18 2008
New Revision: 27142
URL: http://svn.gna.org/viewcvs/wesnoth?rev=27142&view=rev
Log:
SCons recipe: added version_suffix option.
Modified:
trunk/SConstruct
Modified: trunk/SConstruct
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/SConstruct?rev=27142&r1=27141&r2=27142&view=diff
==============================================================================
--- trunk/SConstruct (original)
+++ trunk/SConstruct Fri Jun 13 10:42:18 2008
@@ -41,7 +41,7 @@
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 @@
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', ""),
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits