Install 4758_status on libexec dir. No need to make arch-specific
checks here either.

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

diff --git a/usr/lib/pkcs11/methods/4758_status/Makefile.am 
b/usr/lib/pkcs11/methods/4758_status/Makefile.am
index 3eadb1a..a639c37 100644
--- a/usr/lib/pkcs11/methods/4758_status/Makefile.am
+++ b/usr/lib/pkcs11/methods/4758_status/Makefile.am
@@ -1,16 +1,8 @@
-bin_PROGRAMS=4758_status
-bindir=/tmp
-
+libexec_PROGRAMS=4758_status
 
 4758_status_LDFLAGS = -ldl -lpthread -lscc
 4758_status_CFLAGS = -DDEV -D_THREAD_SAFE -DDEBUG -DAPI
 
-SOURCES = 4758_status.c
+4758_status_SOURCES = 4758_status.c
  
 INCLUDES = $(CPPFLAGS) -I. -I../../../../include/pkcs11/
-
-install-data-local:
-       mkdir -p $(INSROOT)/usr/lib/pkcs11/methods; \
-       if [ $(shell uname -m) != s390x ] ;then cp 4758_status \
-       $(INSROOT)/usr/lib/pkcs11/methods/; fi; \
-       rm -f /tmp/4758*;
-- 
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