diff --git a/Makefile b/Makefile index 5c2306a..256c7d6 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ export DESTDIR ?= /usr -dirs = src gitto +dirs = src gitto zsh install-dirs = $(addprefix install-,$(dirs)) uninstall-dirs = $(addprefix uninstall-,$(dirs)) diff --git a/zsh/Makefile b/zsh/Makefile new file mode 100644 index 0000000..0fe3d40 --- /dev/null +++ b/zsh/Makefile @@ -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