1 ### TrueCrypt Extra installation makefile
2 ### This file is a part of `truecrypt-extra`
4 ### (c) Andrew Sichevoi, http://thekondor.net
5 ### Distributed in the terms of GNU GPL v3.0+ license
7 ### The latest version is available on http://git.thekondor.net
9 INSTALL:=/usr/bin/install
10 INSTALL_OPTS:=--verbose --group=root --owner=root
11 INSTALL_REGULAR_OPTS:=${INSTALL_OPTS} --mode=644
12 INSTALL_EXEC_OPTS:=${INSTALL_OPTS} --mode=755
13 UNINSTALL:=/usr/bin/unlink
18 @echo "Supported targets: [install|uninstall]"
21 @${INSTALL} ${INSTALL_EXEC_OPTS} usr.bin.truecrypt-mount /usr/bin/truecrypt-mount
22 @${INSTALL} ${INSTALL_REGULAR_OPTS} etc.default.truecrypt /etc/default/truecrypt
23 @${INSTALL} ${INSTALL_EXEC_OPTS} etc.pm.sleep-d.20_unmount-truecrypt-containers /etc/pm/sleep.d/20_unmount-truecrypt-containers
26 @${UNINSTALL} /usr/bin/truecrypt-mount
27 @${UNINSTALL} /etc/default/truecrypt
28 @${UNINSTALL} /etc/pm/sleep.d/20_unmount-truecrypt-containers