tools: deprecate old ndnsec command aliases
These are: ndnsec-certgen, ndnsec-dump-certificate,
ndnsec-install-cert, ndnsec-keygen, ndnsec-ls-identity
Change-Id: I0fbc65d2a08f8e7812fd7e62cf6618ffe62671de
diff --git a/tools/ndnsec/wscript b/tools/ndnsec/wscript
index caac9fc..55f557f 100644
--- a/tools/ndnsec/wscript
+++ b/tools/ndnsec/wscript
@@ -14,7 +14,11 @@
source=['main.cpp'],
use='tool-ndnsec-objects')
+ # create convenience symlinks
for cmd in ('list', 'get-default', 'set-default', 'delete',
'key-gen', 'sign-req', 'cert-gen', 'cert-install',
- 'cert-dump', 'export', 'import', 'unlock-tpm'):
+ 'cert-dump', 'export', 'import', 'unlock-tpm',
+ # deprecated aliases
+ 'certgen', 'dump-certificate', 'install-cert',
+ 'keygen', 'ls-identity'):
bld.symlink_as('${BINDIR}/ndnsec-%s' % cmd, 'ndnsec')