spm

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

commit 7cd6d00594871b6fd8baddd55f8c39712d57789d
parent e5e9f5387ecb152a8caa5464d86bf3ec6437bc80
Author: Klemens Nanni <kl3@posteo.org>
Date:   Thu, 23 Mar 2017 02:49:01 +0100

Simplify Makefile, remove sh extension

Diffstat:
MMakefile | 17++++++++---------
Rspm.sh -> spm | 0
2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,5 +1,5 @@ # Copyright (C) 2013-2016 Sören Tempel -# Copyright (C) 2016 Klemens Nanni <kl3@posteo.org> +# Copyright (C) 2016, 2017 Klemens Nanni <kl3@posteo.org> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -14,17 +14,16 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -VERSION = 1.5.0 -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" - install -Dm644 spm.1 "$(DESTDIR)$(MANDIR)/man1/spm.1" + install -Dm755 spm $(DESTDIR)$(BINDIR)/spm + install -Dm644 spm.1 $(DESTDIR)$(MANDIR)/man1/spm.1 uninstall: - $(RM) "$(DESTDIR)$(BINDIR)/spm" \ - "$(DESTDIR)$(MANDIR)/man1/spm.1" + rm -f $(DESTDIR)$(BINDIR)/spm \ + $(DESTDIR)$(MANDIR)/man1/spm.1 .PHONY: install uninstall diff --git a/spm.sh b/spm