File: Makefile.am

package info (click to toggle)
trousers 0.3.13-3
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,592 kB
  • ctags: 6,088
  • sloc: ansic: 73,936; sh: 11,277; makefile: 540
file content (12 lines) | stat: -rw-r--r-- 474 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
EXTRA_DIST = system.data.auth system.data.noauth \
       fedora/fedora.initrd.tcsd

install: install-exec-hook
	if test ! -e ${DESTDIR}/@sysconfdir@/tcsd.conf; then mkdir -p ${DESTDIR}/@sysconfdir@ && cp tcsd.conf ${DESTDIR}/@sysconfdir@; fi

install-exec-hook:
	/bin/sh -c 'if [ ! -e ${DESTDIR}/@localstatedir@/lib/tpm ];then mkdir -p ${DESTDIR}/@localstatedir@/lib/tpm; fi'

uninstall-hook:
	rm ${DESTDIR}/@sysconfdir@/tcsd.conf
	rmdir ${DESTDIR}/@localstatedir@/lib/tpm