Skip to content
Snippets Groups Projects
Commit 35186fcf authored by Christophe Fergeau's avatar Christophe Fergeau Committed by Jason A. Donenfeld
Browse files

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.
parent f08790f8
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment