mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-11-24 11:12:19 +00:00
Scons: Update outdated language
This commit is contained in:
parent
98e77ded15
commit
9439a67b34
@ -6,17 +6,17 @@ import platform as _platform
|
|||||||
# Command line options and help
|
# Command line options and help
|
||||||
#
|
#
|
||||||
|
|
||||||
opts = Options('build.conf')
|
opts = Variables('build.conf')
|
||||||
opts.AddOptions(('CONF_DIR', """Directory where the Netsukuku configuration files will be installed""", '/etc/netsukuku'),
|
opts.AddVariables(('CONF_DIR', """Directory where the Netsukuku configuration files will be installed""", '/etc/netsukuku'),
|
||||||
('DATA_DIR', 'Directory to install data files', '/usr/share/netsukuku'),
|
('DATA_DIR', 'Directory to install data files', '/usr/share/netsukuku'),
|
||||||
('MAN_DIR', 'Where the manuals will be installed', '/usr/man'),
|
('MAN_DIR', 'Where the manuals will be installed', '/usr/man'),
|
||||||
('BIN_DIR' , 'Directory to install the binaries', '/usr/bin'),
|
('BIN_DIR' , 'Directory to install the binaries', '/usr/bin'),
|
||||||
('PID_DIR', 'Specify location of ntkd.pid file', '/var/run'),
|
('PID_DIR', 'Specify location of ntkd.pid file', '/var/run'),
|
||||||
('destdir', 'SCons will copy all the files under destdir during installation', '/'),
|
('destdir', 'SCons will copy all the files under destdir during installation', '/'),
|
||||||
EnumOption('debug', 'build the debug code', 'no',
|
EnumVariable('debug', 'build the debug code', 'no',
|
||||||
allowed_values=('yes', 'no', '1', '0'), map={},
|
allowed_values=('yes', 'no', '1', '0'), map={},
|
||||||
ignorecase=0),
|
ignorecase=0),
|
||||||
EnumOption('static', 'build statically the binaries', 'no',
|
EnumVariable('static', 'build statically the binaries', 'no',
|
||||||
allowed_values=('yes', 'no', '1', '0'), map={},
|
allowed_values=('yes', 'no', '1', '0'), map={},
|
||||||
ignorecase=0))
|
ignorecase=0))
|
||||||
opts.Add('CC', 'The C compiler.')
|
opts.Add('CC', 'The C compiler.')
|
||||||
|
Loading…
Reference in New Issue
Block a user