|
@@ -6,17 +6,17 @@ import platform as _platform
|
6
|
6
|
# Command line options and help
|
7
|
7
|
#
|
8
|
8
|
|
9
|
|
-opts = Options('build.conf')
|
10
|
|
-opts.AddOptions(('CONF_DIR', """Directory where the Netsukuku configuration files will be installed""", '/etc/netsukuku'),
|
|
9
|
+opts = Variables('build.conf')
|
|
10
|
+opts.AddVariables(('CONF_DIR', """Directory where the Netsukuku configuration files will be installed""", '/etc/netsukuku'),
|
11
|
11
|
('DATA_DIR', 'Directory to install data files', '/usr/share/netsukuku'),
|
12
|
12
|
('MAN_DIR', 'Where the manuals will be installed', '/usr/man'),
|
13
|
13
|
('BIN_DIR' , 'Directory to install the binaries', '/usr/bin'),
|
14
|
14
|
('PID_DIR', 'Specify location of ntkd.pid file', '/var/run'),
|
15
|
15
|
('destdir', 'SCons will copy all the files under destdir during installation', '/'),
|
16
|
|
- EnumOption('debug', 'build the debug code', 'no',
|
|
16
|
+ EnumVariable('debug', 'build the debug code', 'no',
|
17
|
17
|
allowed_values=('yes', 'no', '1', '0'), map={},
|
18
|
18
|
ignorecase=0),
|
19
|
|
- EnumOption('static', 'build statically the binaries', 'no',
|
|
19
|
+ EnumVariable('static', 'build statically the binaries', 'no',
|
20
|
20
|
allowed_values=('yes', 'no', '1', '0'), map={},
|
21
|
21
|
ignorecase=0))
|
22
|
22
|
opts.Add('CC', 'The C compiler.')
|