Create the local state directory for opencryptoki (usually $prefix/var/lib/opencryptoki) when installing pkcs_slot. pkcs_slot can take care of creating it on the first execution, but creating it on 'make install' allow us to proper package it.
Signed-off-by: Klaus Heinrich Kiwi <[email protected]> --- usr/sbin/pkcs_slot/Makefile.am | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/usr/sbin/pkcs_slot/Makefile.am b/usr/sbin/pkcs_slot/Makefile.am index 3ac2b4d..ca42d14 100644 --- a/usr/sbin/pkcs_slot/Makefile.am +++ b/usr/sbin/pkcs_slot/Makefile.am @@ -12,3 +12,6 @@ pkcs_slot: pkcs_slot.in -e s...@chmod\@!"@CHMOD@"!g < $< > $...@-t @CHMOD@ +x $...@-t mv $...@-t $@ + +install-data-hook: + $(MKDIR_P) $(DESTDIR)$(localstatedir)/opencryptoki -- 1.6.6.1 ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Opencryptoki-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech
