Add Makefile for zsh/

Installs the ZSH completion module into
`DESTDIR/shar/zsh/site-functions/_gitto'.
This commit is contained in:
Tom Willemse 2013-05-26 19:09:07 +02:00
parent 5c0189e9ca
commit aa0accc977
2 changed files with 12 additions and 1 deletions

View file

@ -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
View 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