From 4fa1e55fafc66bfec51b9f669cda271d85cf9f50 Mon Sep 17 00:00:00 2001 From: Andrew Sichevoi Date: Tue, 1 May 2012 16:16:36 +0400 Subject: [PATCH] Makefile for basic installation added --- Makefile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Makefile 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 + -- 2.20.1