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
11 ${INSTALL} -d
-m
755 $(DESTDIR
)$(bashdir
)
12 ${INSTALL} -T
-m
644 stgit.bash
$(DESTDIR
)$(bashdir
)/stg
15 ${INSTALL} -d
-m
755 $(DESTDIR
)$(fishdir
)
16 ${INSTALL} -T
-m
644 stg.fish
$(DESTDIR
)$(fishdir
)/stg.fish
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