summaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
blob: 050b6f6a0e5eacdf2cb37bf97ef7121a0e557ae5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
PREFIX ?= /usr
DESTDIR ?=

all:
	@echo "Password store is a shell script, so there is nothing to do. Try \"make install\" instead."

install:
	@mkdir -p $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/man/man1 $(DESTDIR)/etc/bash_completion.d
	@install -v src/password-store.sh $(DESTDIR)$(PREFIX)/bin/pass
	@install -v man/pass.1 $(DESTDIR)$(PREFIX)/share/man/man1/pass.1
	@install -v bash-completion/pass-bash-completion.sh $(DESTDIR)/etc/bash_completion.d/password-store

uninstall:
	@rm -vf $(DESTDIR)$(PREFIX)/bin/pass $(DESTDIR)$(PREFIX)/share/man/man1/pass.1 $(DESTDIR)/etc/bash_completion.d/password-store