tools: replace most ndnsec shell wrappers with symlinks
Change-Id: I40488dddaaee13ee4391e906646b9f651b26c2de
diff --git a/tools/ndnsec/wscript b/tools/ndnsec/wscript
index 9f61ae4..caac9fc 100644
--- a/tools/ndnsec/wscript
+++ b/tools/ndnsec/wscript
@@ -8,7 +8,13 @@
features='pch',
headers='ndnsec-pch.hpp',
use='ndn-cxx')
+
bld.program(name='tool-ndnsec',
target=top + 'bin/ndnsec',
source=['main.cpp'],
use='tool-ndnsec-objects')
+
+ for cmd in ('list', 'get-default', 'set-default', 'delete',
+ 'key-gen', 'sign-req', 'cert-gen', 'cert-install',
+ 'cert-dump', 'export', 'import', 'unlock-tpm'):
+ bld.symlink_as('${BINDIR}/ndnsec-%s' % cmd, 'ndnsec')