tools: Combine all security tools into one; Add Export/Import/Delete/Unlock/AddACL command
There might be some bugs in the tools combined, but the purpose of this commit is to combine the tools rather than fixing bugs.
Change-Id: I2924067d666eacfc278ebd07e7e178c54a2f7362
diff --git a/tools/wscript b/tools/wscript
index be76916..bc28425 100644
--- a/tools/wscript
+++ b/tools/wscript
@@ -2,6 +2,9 @@
top = '..'
+def configure(conf):
+ conf.find_program('sh')
+
def build(bld):
for app in bld.path.ant_glob('*.cpp'):
bld(features=['cxx', 'cxxprogram'],
@@ -9,3 +12,10 @@
source = app,
use = 'ndn-cpp-dev',
)
+
+ bld (features = "subst",
+ source = bld.path.ant_glob(['wrapper/*.sh']),
+ target = ['%s' % node.change_ext('', '.sh') for node in bld.path.ant_glob(['wrapper/*.sh'])],
+ install_path = "${BINDIR}",
+ chmod = 0755,
+ )