Ticket #43447: patch-Makefile.diff

File patch-Makefile.diff, 2.3 KB (added by rudloff@…, 11 years ago)
  • Makefile

     
    2323        find . -name *~ | xargs rm -f # clean local backups
    2424
    2525install_lib:
    26         $(INSTALL) -D --mode=0755 lib/keyringer/functions $(DESTDIR)/$(PREFIX)/lib/$(PACKAGE)/functions
    27         $(INSTALL) -D --mode=0755 -d lib/keyringer/actions $(DESTDIR)/$(PREFIX)/lib/$(PACKAGE)/actions
    28         $(INSTALL) -D --mode=0755 lib/keyringer/actions/* $(DESTDIR)/$(PREFIX)/lib/$(PACKAGE)/actions
     26        $(INSTALL) -d $(DESTDIR)/$(PREFIX)/lib/$(PACKAGE)
     27        $(INSTALL) lib/keyringer/functions $(DESTDIR)/$(PREFIX)/lib/$(PACKAGE)/functions
     28        $(INSTALL) -d $(DESTDIR)/$(PREFIX)/lib/$(PACKAGE)/actions
     29        $(INSTALL) lib/keyringer/actions/* $(DESTDIR)/$(PREFIX)/lib/$(PACKAGE)/actions
    2930
    3031install_bin:
    31         $(INSTALL) -D --mode=0755 keyringer $(DESTDIR)/$(PREFIX)/bin/keyringer
     32        $(INSTALL) -d $(DESTDIR)/$(PREFIX)/bin
     33        $(INSTALL) keyringer $(DESTDIR)/$(PREFIX)/bin/keyringer
    3234
    3335install_doc:
    34         $(INSTALL) -D --mode=0644 index.mdwn $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE)/README
    35         $(INSTALL) -D --mode=0644 LICENSE $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE)/LICENSE
     36        $(INSTALL) -d $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE)
     37        $(INSTALL) index.mdwn $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE)/README
     38        $(INSTALL) LICENSE $(DESTDIR)/$(PREFIX)/share/doc/$(PACKAGE)/LICENSE
    3639
    3740install_man:
    38         $(INSTALL) -D --mode=0644 share/man/keyringer.1 $(DESTDIR)/$(PREFIX)/share/man/man1/keyringer.1
     41        $(INSTALL) -d $(DESTDIR)/$(PREFIX)/share/man/man1
     42        $(INSTALL) share/man/keyringer.1 $(DESTDIR)/$(PREFIX)/share/man/man1/keyringer.1
    3943
    4044install_completion:
    41         $(INSTALL) -D --mode=0644 lib/keyringer/completions/bash/keyringer $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/keyringer
    42         $(INSTALL) -D --mode=0644 lib/keyringer/completions/zsh/_keyringer $(DESTDIR)/$(PREFIX)/share/zsh/vendor-completions/_keyringer
     45        $(INSTALL) -d $(DESTDIR)/$(PREFIX)/share/bash-completion/completions
     46        $(INSTALL) lib/keyringer/completions/bash/keyringer $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/keyringer
     47        $(INSTALL) -d $(DESTDIR)/$(PREFIX)/share/zsh/vendor-completions
     48        $(INSTALL) lib/keyringer/completions/zsh/_keyringer $(DESTDIR)/$(PREFIX)/share/zsh/vendor-completions/_keyringer
    4349
    4450install: clean
    4551        @make install_lib install_bin install_doc install_man install_completion