From aa0accc9772c8d49f16fc167f49587ff902bd3dd Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 26 May 2013 19:09:07 +0200 Subject: [PATCH] Add Makefile for zsh/ Installs the ZSH completion module into `DESTDIR/shar/zsh/site-functions/_gitto'. --- Makefile | 2 +- zsh/Makefile | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 zsh/Makefile 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