Add Makefile for zsh/
Installs the ZSH completion module into `DESTDIR/shar/zsh/site-functions/_gitto'.
This commit is contained in:
parent
5c0189e9ca
commit
aa0accc977
2 changed files with 12 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -1,6 +1,6 @@
|
||||||
export DESTDIR ?= /usr
|
export DESTDIR ?= /usr
|
||||||
|
|
||||||
dirs = src gitto
|
dirs = src gitto zsh
|
||||||
install-dirs = $(addprefix install-,$(dirs))
|
install-dirs = $(addprefix install-,$(dirs))
|
||||||
uninstall-dirs = $(addprefix uninstall-,$(dirs))
|
uninstall-dirs = $(addprefix uninstall-,$(dirs))
|
||||||
|
|
||||||
|
|
11
zsh/Makefile
Normal file
11
zsh/Makefile
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
DESTDIR ?= /usr/local
|
||||||
|
|
||||||
|
.PHONY: all install uninstall
|
||||||
|
|
||||||
|
all:
|
||||||
|
|
||||||
|
install:
|
||||||
|
install -Dm 644 _gitto $(DESTDIR)/share/zsh/site-functions/_gitto
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -f $(DESTDIR)/share/zsh/site-functions/_gitto
|
Loading…
Reference in a new issue