gitto/Makefile
Tom Willemse aa0accc977 Add Makefile for zsh/
Installs the ZSH completion module into
`DESTDIR/shar/zsh/site-functions/_gitto'.
2013-05-26 19:09:07 +02:00

20 lines
418 B
Makefile

export DESTDIR ?= /usr
dirs = src gitto zsh
install-dirs = $(addprefix install-,$(dirs))
uninstall-dirs = $(addprefix uninstall-,$(dirs))
.PHONY: all $(dirs) install $(install-dirs) uninstall $(uninstall-dirs)
all: $(dirs)
install: $(install-dirs)
uninstall: $(uninstall-dirs)
$(dirs):
$(MAKE) -C $@/
$(install-dirs): install-%:
$(MAKE) -C $*/ install
$(uninstall-dirs): uninstall-%:
$(MAKE) -C $*/ uninstall