spm

Personal fork of spm (simple password manager)
git clone git@getsh.org:spm.git
Log | Files | Refs | README | LICENSE

commit 09743871714f2e8166cb736c264ba08e9f3a6b38
parent 6c4dd8c685c8fbac5cdb8e2ad2a51d8c221431e4
Author: Sören Tempel <soeren+git@soeren-tempel.net>
Date:   Thu, 24 Sep 2015 21:36:57 +0200

Add BINDIR and MANDIR variables to Makefile

Diffstat:
MMakefile | 10++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile @@ -15,6 +15,8 @@ VERSION = 1.2 PREFIX = /usr/local +BINDIR = $(PREFIX)/bin +MANDIR = $(PREFIX)/share/man all: tpm.1 tpm.1: README.pod @@ -22,12 +24,12 @@ tpm.1: README.pod --release="tpm $(VERSION)" $< $@ install: tpm.1 - install -Dm755 tpm "$(DESTDIR)$(PREFIX)/bin/tpm" - install -Dm644 tpm.1 "$(DESTDIR)$(PREFIX)/share/man/man1/tpm.1" + install -Dm755 tpm "$(DESTDIR)$(BINDIR)/tpm" + install -Dm644 tpm.1 "$(DESTDIR)$(MANDIR)/man1/tpm.1" uninstall: - $(RM) "$(DESTDIR)$(PREFIX)/bin/tpm" \ - "$(DESTDIR)$(PREFIX)/share/man/man1/tpm.1" + $(RM) "$(DESTDIR)$(BINDIR)/tpm" \ + "$(DESTDIR)$(MANDIR)/man1/tpm.1" clean: $(RM) tpm.1