nrd-config: Adding processing of command line arguments and processing of conf file.
refs #1450
Change-Id: I18fa5c1c12ec2367670659be331a9f95e0a920eb
diff --git a/wscript b/wscript
index 89c8f40..f25aebf 100644
--- a/wscript
+++ b/wscript
@@ -39,6 +39,7 @@
# except:
# pass
+ conf.define('DEFAULT_CONFIG_FILE', '%s/ndn/nrd.conf' % conf.env['SYSCONFDIR'])
conf.write_config_header('src/config.hpp')
def build (bld):
@@ -65,4 +66,7 @@
use='nrd-objects',
includes=['.', 'src'],
install_prefix=None,
- )
+ )
+
+ bld.install_files('${SYSCONFDIR}/ndn', 'nrd.conf.sample')
+