32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
$NetBSD: patch-Makefile.in,v 1.1 2014/11/18 13:40:57 he Exp $
|
|
|
|
Tweak install-data-hook target.
|
|
|
|
--- Makefile.in.orig 2012-05-09 18:41:49.000000000 +0000
|
|
+++ Makefile.in
|
|
@@ -271,6 +271,7 @@ sharedstatedir = @sharedstatedir@
|
|
softhsmdbdir = @softhsmdbdir@
|
|
srcdir = @srcdir@
|
|
sysconfdir = @sysconfdir@
|
|
+EGDIR = @EGDIR@
|
|
target_alias = @target_alias@
|
|
top_build_prefix = @top_build_prefix@
|
|
top_builddir = @top_builddir@
|
|
@@ -869,11 +870,11 @@ uninstall-man: uninstall-man5
|
|
|
|
|
|
install-data-hook:
|
|
- test -d ${DESTDIR}${sysconfdir} || \
|
|
- ${INSTALL} -d ${DESTDIR}${sysconfdir}
|
|
- test -f ${DESTDIR}${sysconfdir}/softhsm.conf || \
|
|
- ${INSTALL_DATA} ${top_builddir}/softhsm.conf ${DESTDIR}${sysconfdir}
|
|
- ${INSTALL_DATA} ${top_builddir}/softhsm.conf ${DESTDIR}${sysconfdir}/softhsm.conf.sample
|
|
+ test -d ${DESTDIR}${EGDIR} || \
|
|
+ ${INSTALL} -d ${DESTDIR}${EGDIR}
|
|
+ test -f ${DESTDIR}${EGDIR}/softhsm.conf || \
|
|
+ ${INSTALL_DATA} ${top_builddir}/softhsm.conf ${DESTDIR}${EGDIR}
|
|
+ ${INSTALL_DATA} ${top_builddir}/softhsm.conf ${DESTDIR}${EGDIR}/softhsm.conf.sample
|
|
test -d ${DESTDIR}${softhsmdbdir} || \
|
|
${INSTALL} -d -m 700 ${DESTDIR}${softhsmdbdir}
|
|
|