Add command line tools
Change-Id: I5bce4074324b35e5079b330dc20e14c22fc74c6b
diff --git a/wscript b/wscript
index 0333e48..2f86766 100644
--- a/wscript
+++ b/wscript
@@ -48,6 +48,8 @@
conf.load('sanitizers')
+ conf.define('SYSCONFDIR', conf.env['SYSCONFDIR'])
+
# If there happens to be a static library, waf will put the corresponding -L flags
# before dynamic library flags. This can result in compilation failure when the
# system has a different version of the ndncert library installed.
@@ -67,6 +69,8 @@
export_includes=['src'],
)
+ bld.recurse('tools')
+
bld.recurse('tests')
bld.install_files(
@@ -83,6 +87,10 @@
relative_trick = False,
)
+ bld.install_files("${SYSCONFDIR}/ndncert", "ca.conf.sample")
+
+ bld.install_files("${SYSCONFDIR}/ndncert", "client.conf.sample")
+
bld(features = "subst",
source='libndn-cert.pc.in',
target='libndn-cert.pc',