Use -hook instead of -local in install targets.

Signed-off-by: Klaus Heinrich Kiwi <[email protected]>
---
 usr/lib/pkcs11/ica_stdll/Makefile.am |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/usr/lib/pkcs11/ica_stdll/Makefile.am 
b/usr/lib/pkcs11/ica_stdll/Makefile.am
index 1c0fc5e..d5e60b5 100644
--- a/usr/lib/pkcs11/ica_stdll/Makefile.am
+++ b/usr/lib/pkcs11/ica_stdll/Makefile.am
@@ -30,7 +30,6 @@ INCLUDES = $(ICA_INC_DIRS) -I/usr/include                     
\
 -I../common -I../../../ica/inc -I../../../../ica/include       \
 -I.. -I../../../../ica/src/inc
 
-install-data-local:
-       mkdir -p $(DESTDIR)/$(libdir)/opencryptoki/stdll
-       cd $(DESTDIR)/$(libdir)/opencryptoki/stdll && rm -f PKCS11_ICA.so && \
+install-data-hook:
+       cd $(DESTDIR)$(libdir)/opencryptoki/stdll && \
                ln -sf libpkcs11_ica.so PKCS11_ICA.so
-- 
1.6.2.5


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Opencryptoki-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech

Reply via email to