password-store

Simple password manager using gpg and ordinary unix directories
git clone https://git.zx2c4.com/password-store
Log | Files | Refs | README | LICENSE

commit 47fed2c5d47a03fad7b91bfb890eed257e9c1b2d
parent 414bab7d973b50431854496811608c549fb541e1
Author: Jason A. Donenfeld <Jason@zx2c4.com>
Date:   Sat, 22 Mar 2014 12:01:52 -0600

Makefile: do not use recursion and organize

Diffstat:
MMakefile | 16+++++++---------
Rcontrib/fpm2pass.pl -> contrib/importers/fpm2pass.pl | 0
Rcontrib/gorilla2pass.rb -> contrib/importers/gorilla2pass.rb | 0
Rcontrib/kedpm2pass.py -> contrib/importers/kedpm2pass.py | 0
Rcontrib/keepass2pass.py -> contrib/importers/keepass2pass.py | 0
Rcontrib/keepassx2pass.py -> contrib/importers/keepassx2pass.py | 0
Rcontrib/lastpass2pass.rb -> contrib/importers/lastpass2pass.rb | 0
Rcontrib/pwsafe2pass.sh -> contrib/importers/pwsafe2pass.sh | 0
Rcontrib/revelation2pass.py -> contrib/importers/revelation2pass.py | 0
Rcontrib/pass.bash-completion -> src/completion/pass.bash-completion | 0
Rcontrib/pass.fish-completion -> src/completion/pass.fish-completion | 0
Rcontrib/pass.zsh-completion -> src/completion/pass.zsh-completion | 0
12 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/Makefile b/Makefile @@ -6,32 +6,30 @@ MANDIR ?= $(PREFIX)/share/man PLATFORMFILE := src/platform/$(shell uname | tr '[:upper:]' '[:lower:]').sh -.PHONY: install uninstall install-platform +.PHONY: install uninstall install-pass all: @echo "Password store is a shell script, so there is nothing to do. Try \"make install\" instead." -install: +install-pass: @mkdir -p "$(DESTDIR)$(BINDIR)" "$(DESTDIR)$(LIBDIR)" "$(DESTDIR)$(MANDIR)/man1" "$(DESTDIR)$(PREFIX)/share/bash-completion/completions/" @install -m 0755 -v src/password-store.sh "$(DESTDIR)$(BINDIR)/pass" @install -m 0644 -v man/pass.1 "$(DESTDIR)$(MANDIR)/man1/pass.1" - @install -m 0644 -v contrib/pass.bash-completion "$(DESTDIR)$(PREFIX)/share/bash-completion/completions/password-store" + @install -m 0644 -v src/completion/pass.bash-completion "$(DESTDIR)$(PREFIX)/share/bash-completion/completions/password-store" # Uncomment to install the zsh completion file. -# @install -m 0644 -v contrib/pass.zsh-completion "$(DESTDIR)$(PREFIX)/share/zsh/site-functions/_pass" +# @install -m 0644 -v src/completion/pass.zsh-completion "$(DESTDIR)$(PREFIX)/share/zsh/site-functions/_pass" # # Uncomment to install the fish completion file. -# @install -m 0644 -v contrib/pass.fish-completion "$(DESTDIR)$(PREFIX)/share/fish/completions/pass.fish" - - @$(MAKE) -s install-platform +# @install -m 0644 -v src/completion/pass.fish-completion "$(DESTDIR)$(PREFIX)/share/fish/completions/pass.fish" ifneq ($(strip $(wildcard $(PLATFORMFILE))),) -install-platform: +install: install-pass @install -m 0644 -v "$(PLATFORMFILE)" "$(DESTDIR)$(LIBDIR)/password-store.platform.sh" # The -i "" doesn't work on GNU, where the extra argument isn't needed. Fortuantely, platform file is for non-GNU only. sed -i "" 's:.*platform-defined-functions.*:source $(DESTDIR)$(LIBDIR)/password-store.platform.sh:' "$(DESTDIR)$(BINDIR)/pass" else -install-platform: +install: install-pass endif uninstall: diff --git a/contrib/fpm2pass.pl b/contrib/importers/fpm2pass.pl diff --git a/contrib/gorilla2pass.rb b/contrib/importers/gorilla2pass.rb diff --git a/contrib/kedpm2pass.py b/contrib/importers/kedpm2pass.py diff --git a/contrib/keepass2pass.py b/contrib/importers/keepass2pass.py diff --git a/contrib/keepassx2pass.py b/contrib/importers/keepassx2pass.py diff --git a/contrib/lastpass2pass.rb b/contrib/importers/lastpass2pass.rb diff --git a/contrib/pwsafe2pass.sh b/contrib/importers/pwsafe2pass.sh diff --git a/contrib/revelation2pass.py b/contrib/importers/revelation2pass.py diff --git a/contrib/pass.bash-completion b/src/completion/pass.bash-completion diff --git a/contrib/pass.fish-completion b/src/completion/pass.fish-completion diff --git a/contrib/pass.zsh-completion b/src/completion/pass.zsh-completion