Preserve picked patch name when possible
[stgit.git] / completion / Makefile
blob606e6a8bd4777b2c271c6a315a140144a2c5014f
1 INSTALL ?= install
3 prefix ?= $(HOME)/.local
4 bashdir ?= $(prefix)/share/bash-completion/completions
5 fishdir ?= $(prefix)/share/fish/vendor_completions.d
6 zshdir ?= $(prefix)/share/zsh/site-functions
8 install: install-bash install-fish install-zsh
10 install-bash:
11 ${INSTALL} -d -m 755 $(DESTDIR)$(bashdir)
12 ${INSTALL} -T -m 644 stgit.bash $(DESTDIR)$(bashdir)/stg
14 install-fish:
15 ${INSTALL} -d -m 755 $(DESTDIR)$(fishdir)
16 ${INSTALL} -T -m 644 stg.fish $(DESTDIR)$(fishdir)/stg.fish
18 install-zsh:
19 ${INSTALL} -d -m 755 $(DESTDIR)$(zshdir)
20 ${INSTALL} -T -m 644 stgit.zsh $(DESTDIR)$(zshdir)/_stg
22 .PHONY: install install-bash install-fish install-zsh