2013-05-26 16:09:21 -04:00
|
|
|
PROG = tomb
|
2013-05-25 16:39:42 +02:00
|
|
|
PREFIX ?= /usr/local
|
2014-11-16 14:04:05 +01:00
|
|
|
MANDIR ?= ${PREFIX}/share/man
|
2013-05-25 16:39:42 +02:00
|
|
|
|
|
|
|
all:
|
2014-02-24 16:09:28 +01:00
|
|
|
@echo
|
2013-05-25 16:39:42 +02:00
|
|
|
@echo "Tomb is a script and does not need compilation, it can be simply executed."
|
2014-02-24 16:09:28 +01:00
|
|
|
@echo
|
2013-05-25 16:39:42 +02:00
|
|
|
@echo "To install it in /usr/local together with its manpage use 'make install'."
|
2014-02-24 16:09:28 +01:00
|
|
|
@echo
|
|
|
|
@echo "To run Tomb one needs to have some tools installed on the system:"
|
|
|
|
@echo "Sudo, cryptsetup, pinentry and gnupg. Also wipe is recommended."
|
|
|
|
@echo
|
2013-05-25 16:39:42 +02:00
|
|
|
|
|
|
|
install:
|
2014-11-15 03:14:42 +01:00
|
|
|
@make -C extras/po install
|
|
|
|
install -Dm755 ${PROG} ${DESTDIR}${PREFIX}/bin/${PROG}
|
|
|
|
install -Dm666 doc/${PROG}.1 ${DESTDIR}${MANDIR}/man1/${PROG}.1
|
2013-06-12 11:12:33 +02:00
|
|
|
|
|
|
|
test:
|
|
|
|
make -C extras/test
|