Ticket #43348: Makefile.diff
File Makefile.diff, 1.3 KB (added by john@…, 11 years ago) |
---|
-
Makefile
old new 15 15 @mkdir -p "$(DESTDIR)$(BINDIR)" "$(DESTDIR)$(LIBDIR)" "$(DESTDIR)$(MANDIR)/man1" "$(DESTDIR)$(PREFIX)/share/bash-completion/completions/" 16 16 @install -m 0755 -v src/password-store.sh "$(DESTDIR)$(BINDIR)/pass" 17 17 @install -m 0644 -v man/pass.1 "$(DESTDIR)$(MANDIR)/man1/pass.1" 18 @install -m 0644 -v src/completion/pass.bash-completion "$(DESTDIR)$(PREFIX)/share/bash-completion/completions/pass word-store"18 @install -m 0644 -v src/completion/pass.bash-completion "$(DESTDIR)$(PREFIX)/share/bash-completion/completions/pass" 19 19 20 20 # Uncomment to install the zsh completion file. 21 21 # @install -m 0644 -v src/completion/pass.zsh-completion "$(DESTDIR)$(PREFIX)/share/zsh/site-functions/_pass" … … 27 27 install: install-pass 28 28 @install -m 0644 -v "$(PLATFORMFILE)" "$(DESTDIR)$(LIBDIR)/password-store.platform.sh" 29 29 # The -i "" doesn't work on GNU, where the extra argument isn't needed. Fortuantely, platform file is for non-GNU only. 30 sed -i "" 's:.*platform-defined-functions.*:source $( DESTDIR)$(LIBDIR)/password-store.platform.sh:' "$(DESTDIR)$(BINDIR)/pass"30 sed -i "" 's:.*platform-defined-functions.*:source $(LIBDIR)/password-store.platform.sh:' "$(DESTDIR)$(BINDIR)/pass" 31 31 else 32 32 install: install-pass 33 33 endif