Tomb/Makefile
2014-11-16 14:04:05 +01:00

22 lines
599 B
Makefile

PROG = tomb
PREFIX ?= /usr/local
MANDIR ?= ${PREFIX}/share/man
all:
@echo
@echo "Tomb is a script and does not need compilation, it can be simply executed."
@echo
@echo "To install it in /usr/local together with its manpage use 'make install'."
@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
install:
@make -C extras/po install
install -Dm755 ${PROG} ${DESTDIR}${PREFIX}/bin/${PROG}
install -Dm666 doc/${PROG}.1 ${DESTDIR}${MANDIR}/man1/${PROG}.1
test:
make -C extras/test