From 35186fcf79b56eb943c477715ad9b41ae9c5365b Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Fri, 7 Sep 2012 12:16:28 +0200 Subject: Explicitly set permissions when running 'install' The default permissions set by 'install' are 0755 which is not what we want for manpages and the bash completion file. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3