spm

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

commit 9492135ae0afff4657cf55e73af13823afe50c2d
parent c5c54499ab7eefc5fa8123c8a14090a7141374e4
Author: Sören Tempel <soeren+git@soeren-tempel.net>
Date:   Wed, 25 May 2016 00:02:20 +0200

Use conditional assignment operator in Makefile

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

diff --git a/Makefile b/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 2013-2015 Sören Tempel +# Copyright (C) 2013-2016 Sören Tempel # Copyright (C) 2016 Klemens Nanni <kl3@posteo.org> # # This program is free software: you can redistribute it and/or modify @@ -15,9 +15,9 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. VERSION = 1.4.5 -PREFIX = /usr/local -BINDIR = $(PREFIX)/bin -MANDIR = $(PREFIX)/share/man +PREFIX ?= /usr/local +BINDIR ?= $(PREFIX)/bin +MANDIR ?= $(PREFIX)/share/man install: install -Dm755 spm.sh "$(DESTDIR)$(BINDIR)/spm"