tMakefile - tomb - the crypto undertaker (HTM) git clone git://parazyd.org/tomb.git (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- tMakefile (920B) --- 1 PROG = tomb 2 PREFIX ?= /usr/local 3 MANDIR ?= ${PREFIX}/share/man 4 5 all: 6 @echo 7 @echo "Tomb is a script and does not need compilation, it can be simply executed." 8 @echo 9 @echo "To install it in /usr/local together with its manpage use 'make install'." 10 @echo 11 @echo "To run Tomb one needs to have some tools installed on the system:" 12 @echo "Sudo, cryptsetup, pinentry and gnupg. Also wipe is recommended." 13 @echo 14 15 install: 16 install -Dm755 ${PROG} ${DESTDIR}${PREFIX}/bin/${PROG} 17 install -Dm644 doc/${PROG}.1 ${DESTDIR}${MANDIR}/man1/${PROG}.1 18 @echo 19 @echo "Tomb is installed succesfully. To install language translations, make sure" 20 @echo "gettext is also installed, then 'cd extras/translations' and 'make install' there." 21 @echo 22 @echo "Look around the extras/ directory, it contains other interesting modules." 23 @echo 24 25 test: 26 make -C extras/test 27 28 lint: 29 shellcheck -s zsh -e SC1073,SC1027,SC1072,SC1083,SC1009 tomb