From: Andrew Sichevoi Date: Tue, 1 May 2012 12:16:36 +0000 (+0400) Subject: Makefile for basic installation added X-Git-Tag: v0.1 X-Git-Url: http://git.thekondor.net/?a=commitdiff_plain;h=HEAD;p=truecrypt-extra.git Makefile for basic installation added --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..84d299b --- /dev/null +++ b/Makefile @@ -0,0 +1,29 @@ +### TrueCrypt Extra installation makefile +### This file is a part of `truecrypt-extra` +### +### (c) Andrew Sichevoi, http://thekondor.net +### Distributed in the terms of GNU GPL v3.0+ license +### +### The latest version is available on http://git.thekondor.net + +INSTALL:=/usr/bin/install +INSTALL_OPTS:=--verbose --group=root --owner=root +INSTALL_REGULAR_OPTS:=${INSTALL_OPTS} --mode=644 +INSTALL_EXEC_OPTS:=${INSTALL_OPTS} --mode=755 +UNINSTALL:=/usr/bin/unlink + +all: help + +help: + @echo "Supported targets: [install|uninstall]" + +install: + @${INSTALL} ${INSTALL_EXEC_OPTS} usr.bin.truecrypt-mount /usr/bin/truecrypt-mount + @${INSTALL} ${INSTALL_REGULAR_OPTS} etc.default.truecrypt /etc/default/truecrypt + @${INSTALL} ${INSTALL_EXEC_OPTS} etc.pm.sleep-d.20_unmount-truecrypt-containers /etc/pm/sleep.d/20_unmount-truecrypt-containers + +uninstall: + @${UNINSTALL} /usr/bin/truecrypt-mount + @${UNINSTALL} /etc/default/truecrypt + @${UNINSTALL} /etc/pm/sleep.d/20_unmount-truecrypt-containers +