spm

simple password manager
git clone anongit@rnpnr.xyz:spm.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 9492135ae0afff4657cf55e73af13823afe50c2d
Parent: c5c54499ab7eefc5fa8123c8a14090a7141374e4
Author: Sören Tempel
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"