Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[4c6a90]: dist / Makefile.am Maximize Restore History

Download this file

Makefile.am    22 lines (18 with data), 705 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
sysconf_DATA = tcsd.conf
#
# Make sure that the user and group add utils have run before install-data-hook tries
# to use 'tss' in the chown statement.
#
install-data-hook: install-exec-hook
/bin/chown tss.tss ${DESTDIR}/@sysconfdir@/tcsd.conf
/bin/chmod 0600 ${DESTDIR}/@sysconfdir@/tcsd.conf
install-exec-hook:
/usr/sbin/groupadd tss || true
/usr/sbin/useradd -r tss -g tss || true
/bin/chown tss.tss ${DESTDIR}/@sbindir@/tcsd
/bin/sh -c 'if [ ! -e ${DESTDIR}/@localstatedir@/tpm ];then mkdir -p ${DESTDIR}/@localstatedir@/tpm; fi'
/bin/chown tss.tss ${DESTDIR}/@localstatedir@/tpm
/bin/chmod 1777 ${DESTDIR}/@localstatedir@/tpm
uninstall-hook:
/usr/sbin/groupdel tss
/usr/sbin/userdel tss