Merge pull request #963 from AladW/view-options
[aurutils.git] / completions / Makefile
blobc6a23f92ee487d95eddf61065e94306114109ca4
1 PREFIX ?= /usr
2 SHRDIR ?= $(PREFIX)/share
3 .PHONY = bash install-bash zsh install-zsh
5 bash: bash/aur
6 zsh: zsh/_aur
8 bash/aur: bash/aurutils.in ../lib/*
9 bash $< >$@
11 zsh/_aur: zsh/aurutils.in ../lib/*
12 bash $< >$@
14 install-bash: bash/aur
15 @install -Dm644 bash/aur -t '$(DESTDIR)$(SHRDIR)/bash-completion/completions'
17 install-zsh: zsh/_aur
18 @install -Dm644 zsh/_aur -t '$(DESTDIR)$(SHRDIR)/zsh/site-functions'
19 @install -Dm755 zsh/run-help-aur -t '$(DESTDIR)$(SHRDIR)/zsh/functions/Misc'