Tomb/Makefile

27 lines
851 B
Makefile
Raw Normal View History

PROG = tomb
PREFIX ?= /usr/local
MANDIR ?= ${PREFIX}/share/man
all:
2014-02-24 15:09:28 +00:00
@echo
@echo "Tomb is a script and does not need compilation, it can be simply executed."
2014-02-24 15:09:28 +00:00
@echo
@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:"
@echo "Sudo, cryptsetup, pinentry and gnupg. Also wipe is recommended."
@echo
install:
2014-11-15 02:14:42 +00:00
install -Dm755 ${PROG} ${DESTDIR}${PREFIX}/bin/${PROG}
install -Dm644 doc/${PROG}.1 ${DESTDIR}${MANDIR}/man1/${PROG}.1
@echo
@echo "Tomb is installed succesfully. To install language translations, make sure"
@echo "gettext is also installed, then 'cd extras/translations' and 'make install' there."
@echo
@echo "Look around the extras/ directory, it contains other interesting modules."
@echo
test:
make -C extras/test