m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 19a8717..62f2ca0 100644
--- a/Makefile
+++ b/Makefile
@@ -11,9 +11,9 @@ all:
install:
@mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1 $(DESTDIR)$(SYSCONFDIR)/bash_completion.d
- @install -v src/password-store.sh $(DESTDIR)$(BINDIR)/pass
- @install -v man/pass.1 $(DESTDIR)$(MANDIR)/man1/pass.1
- @install -v bash-completion/pass-bash-completion.sh $(DESTDIR)$(SYSCONFDIR)/bash_completion.d/password-store
+ @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 bash-completion/pass-bash-completion.sh $(DESTDIR)$(SYSCONFDIR)/bash_completion.d/password-store
uninstall:
@rm -vf $(DESTDIR)$(BINDIR)/pass $(DESTDIR)$(MANDIR)/man1/pass.1 $(DESTDIR)$(SYSCONFDIR)/bash_completion.d/password-store