Ticket #43348: Makefile.diff

File Makefile.diff, 1.3 KB (added by john@…, 11 years ago)
  • Makefile

    old new  
    1515        @mkdir -p "$(DESTDIR)$(BINDIR)" "$(DESTDIR)$(LIBDIR)" "$(DESTDIR)$(MANDIR)/man1" "$(DESTDIR)$(PREFIX)/share/bash-completion/completions/"
    1616        @install -m 0755 -v src/password-store.sh "$(DESTDIR)$(BINDIR)/pass"
    1717        @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/password-store"
     18        @install -m 0644 -v src/completion/pass.bash-completion "$(DESTDIR)$(PREFIX)/share/bash-completion/completions/pass"
    1919
    2020#       Uncomment to install the zsh completion file.
    2121#       @install -m 0644 -v src/completion/pass.zsh-completion "$(DESTDIR)$(PREFIX)/share/zsh/site-functions/_pass"
     
    2727install: install-pass
    2828        @install -m 0644 -v "$(PLATFORMFILE)" "$(DESTDIR)$(LIBDIR)/password-store.platform.sh"
    2929#       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"
    3131else
    3232install: install-pass
    3333endif