diff options
author | kousu <nick@kousu.ca> | 2019-11-30 16:28:27 -0500 |
---|---|---|
committer | Tad Fisher <129148+tadfisher@users.noreply.github.com> | 2020-09-12 12:59:36 -0700 |
commit | 24330b81d6d1a4d87708692f0ee9906d3297012e (patch) | |
tree | 92fb3d79afde38664ac5c811915529631f20709a /Makefile | |
parent | 7be39f286757dc8630f681f3696b778f4a3ec301 (diff) | |
download | pass-otp-24330b81d6d1a4d87708692f0ee9906d3297012e.tar.gz pass-otp-24330b81d6d1a4d87708692f0ee9906d3297012e.zip |
OpenBSD patches to installer
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -1,9 +1,9 @@ PROG ?= otp -PREFIX ?= /usr +PREFIX ?= /usr/local DESTDIR ?= LIBDIR ?= $(PREFIX)/lib SYSTEM_EXTENSION_DIR ?= $(LIBDIR)/password-store/extensions -MANDIR ?= $(PREFIX)/share/man +MANDIR ?= $(PREFIX)/man BASHCOMPDIR ?= /etc/bash_completion.d all: @@ -15,17 +15,17 @@ all: @echo " password store" install: - @install -v -d "$(DESTDIR)$(MANDIR)/man1" && install -m 0644 -v pass-$(PROG).1 "$(DESTDIR)$(MANDIR)/man1/pass-$(PROG).1" - @install -v -d "$(DESTDIR)$(SYSTEM_EXTENSION_DIR)/" - @install -v -m0755 $(PROG).bash "$(DESTDIR)$(SYSTEM_EXTENSION_DIR)/$(PROG).bash" - @install -v -d "$(DESTDIR)$(BASHCOMPDIR)/" - @install -v -m 644 pass-otp.bash.completion "$(DESTDIR)$(BASHCOMPDIR)/pass-otp" + install -d "$(DESTDIR)$(MANDIR)/man1" && install -m 0644 pass-$(PROG).1 "$(DESTDIR)$(MANDIR)/man1/pass-$(PROG).1" + install -d "$(DESTDIR)$(SYSTEM_EXTENSION_DIR)/" + install -m0755 $(PROG).bash "$(DESTDIR)$(SYSTEM_EXTENSION_DIR)/$(PROG).bash" + install -d "$(DESTDIR)$(BASHCOMPDIR)/" + install -m 644 pass-otp.bash.completion "$(DESTDIR)$(BASHCOMPDIR)/pass-otp" @echo @echo "pass-$(PROG) is installed succesfully" @echo uninstall: - @rm -vrf \ + rm -vrf \ "$(DESTDIR)$(SYSTEM_EXTENSION_DIR)/$(PROG).bash" \ "$(DESTDIR)$(MANDIR)/man1/pass-$(PROG).1" \ "$(DESTDIR)$(BASHCOMPDIR)/pass-otp" |