summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorClément Démoulins <clement@archivel.fr>2011-05-18 22:16:02 +0200
committerSebastien Luttringer <seblu@seblu.net>2011-05-22 18:27:17 +0200
commit395803ff628e41940bbaaf5f1ffbcf591b007102 (patch)
treebb5059e3cf71b12159c9ef7330d0b5583136802c /Makefile
parentd543c7aa098c214fa5e55a497353dda47b95d3ad (diff)
Add a zsh completion script for the command rc.d.
seblu: Fix typo, add vim modeline Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 25c9b58..968cfb9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
VER := $(shell git describe)
-DIRS := /etc/rc.d /etc/conf.d /etc/rc.d/functions.d /etc/cron.hourly /sbin /etc/modprobe.d /etc/bash_completion.d
+DIRS := /etc/rc.d /etc/conf.d /etc/rc.d/functions.d /etc/cron.hourly /sbin /etc/modprobe.d /etc/bash_completion.d /usr/share/zsh/site-functions
minilogd: minilogd.o
@@ -15,6 +15,7 @@ install: minilogd installdirs
install -m755 -t $(DESTDIR)/sbin minilogd rc.d modprobe-blacklist
ln -s /run/initscripts/modprobe-blacklist.conf $(DESTDIR)/etc/modprobe.d/arch-blacklist.conf
install -m644 -T bash-completion $(DESTDIR)/etc/bash_completion.d/rc.d
+ install -m644 -T zsh-completion $(DESTDIR)/usr/share/zsh/site-functions/_rc.d
clean:
rm -f minilogd minilogd.o