mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-09-28 20:59:02 +00:00
Make syntax more explicit and clean; Add DESTDIR variable for easy packaging
--TODO-- * Add kdf installation * Add zsh completion installation
This commit is contained in:
parent
2bb6704190
commit
300f041670
7
Makefile
7
Makefile
@ -1,10 +1,11 @@
|
|||||||
|
PROG = tomb
|
||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
|
MANDIR ?= /usr/share/man
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@echo "Tomb is a script and does not need compilation, it can be simply executed."
|
@echo "Tomb is a script and does not need compilation, it can be simply executed."
|
||||||
@echo "To install it in /usr/local together with its manpage use 'make install'."
|
@echo "To install it in /usr/local together with its manpage use 'make install'."
|
||||||
|
|
||||||
install:
|
install:
|
||||||
install tomb $(PREFIX)/bin
|
@install -Dm755 ${PROG} ${DESTDIR}${PREFIX}/bin/${PROG}
|
||||||
install doc/tomb.1 $(PREFIX)/share/man/man1
|
@install -Dm666 doc/${PROG}.1 ${DESTDIR}${MANDIR}/man1/${PROG}.1
|
||||||
|
Loading…
Reference in New Issue
Block a user