2013-05-26 20:09:21 +00:00
|
|
|
PROG = tomb
|
2013-05-25 14:39:42 +00:00
|
|
|
PREFIX ?= /usr/local
|
2014-11-16 13:04:05 +00:00
|
|
|
MANDIR ?= ${PREFIX}/share/man
|
2013-05-25 14:39:42 +00:00
|
|
|
|
|
|
|
all:
|
2014-02-24 15:09:28 +00:00
|
|
|
@echo
|
2013-05-25 14:39:42 +00:00
|
|
|
@echo "Tomb is a script and does not need compilation, it can be simply executed."
|
2014-02-24 15:09:28 +00:00
|
|
|
@echo
|
2013-05-25 14:39:42 +00:00
|
|
|
@echo "To install it in /usr/local together with its manpage use 'make install'."
|
2014-02-24 15:09:28 +00:00
|
|
|
@echo
|
|
|
|
@echo "To run Tomb one needs to have some tools installed on the system:"
|
2017-11-01 09:43:51 +00:00
|
|
|
@echo "Sudo, cryptsetup, pinentry and gnupg."
|
2014-02-24 15:09:28 +00:00
|
|
|
@echo
|
2013-05-25 14:39:42 +00:00
|
|
|
|
|
|
|
install:
|
2014-11-15 02:14:42 +00:00
|
|
|
install -Dm755 ${PROG} ${DESTDIR}${PREFIX}/bin/${PROG}
|
2015-10-25 21:28:23 +00:00
|
|
|
install -Dm644 doc/${PROG}.1 ${DESTDIR}${MANDIR}/man1/${PROG}.1
|
2015-01-04 19:33:39 +00:00
|
|
|
@echo
|
|
|
|
@echo "Tomb is installed succesfully. To install language translations, make sure"
|
2015-12-13 00:12:44 +00:00
|
|
|
@echo "gettext is also installed, then 'cd extras/translations' and 'make install' there."
|
2015-01-04 19:33:39 +00:00
|
|
|
@echo
|
|
|
|
@echo "Look around the extras/ directory, it contains other interesting modules."
|
|
|
|
@echo
|
2013-06-12 09:12:33 +00:00
|
|
|
|
|
|
|
test:
|
|
|
|
make -C extras/test
|
2017-01-02 05:03:29 +00:00
|
|
|
|
|
|
|
lint:
|
2022-03-03 09:27:35 +00:00
|
|
|
shellcheck -s bash -e SC1058,SC1073,SC1072,SC1009 tomb
|