summaryrefslogtreecommitdiff
path: root/security/trousers/files/patch-dist_Makefile.am
blob: c209b536ea5da6b5f357b3e42ae1a79c312c1d99 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- dist/Makefile.am.orig	2014-07-23 19:42:44 UTC
+++ dist/Makefile.am
@@ -1,14 +1,14 @@
 EXTRA_DIST = system.data.auth system.data.noauth \
        fedora/fedora.initrd.tcsd
 
-install: install-exec-hook
+Xinstall: install-exec-hook
 	if test ! -e ${DESTDIR}/@sysconfdir@/tcsd.conf; then mkdir -p ${DESTDIR}/@sysconfdir@ && cp tcsd.conf ${DESTDIR}/@sysconfdir@; fi
 if !NOUSERCHECK
 	/bin/chown tss:tss ${DESTDIR}/@sysconfdir@/tcsd.conf || true
 	/bin/chmod 0600 ${DESTDIR}/@sysconfdir@/tcsd.conf
 endif
 
-install-exec-hook:
+Xinstall-exec-hook:
 	/bin/sh -c 'if [ ! -e ${DESTDIR}/@localstatedir@/lib/tpm ];then mkdir -p ${DESTDIR}/@localstatedir@/lib/tpm; fi'
 if !NOUSERCHECK
 	/usr/sbin/groupadd tss || true