diff options
author | Guido Günther <agx@sigxcpu.org> | 2008-10-23 12:47:35 +0200 |
---|---|---|
committer | Guido Guenther <agx@sigxcpu.org> | 2008-10-23 12:47:35 +0200 |
commit | 316632529403a66c38b24ed492e6758189f760e4 (patch) | |
tree | 7063bdf2f5455a45e46d309fefd78a7fee1b2146 /Makefile | |
parent | 493b8d5afdd8a3f1d4e3760f6cafd1382733029e (diff) |
add $(PLUGINDIR)
for direct installtion into /etc/munin/plugins/
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,6 @@ VERSION=0.0.1 PKG=munin-libvirt-plugins +PLUGINDIR=/usr/share/munin/plugins/ PLUGINS=libvirt-cputime \ libvirt-blkstat \ @@ -10,8 +11,8 @@ ALL=$(PLUGINS) Makefile COPYING PYFILES=$(patsubst %,%.py,$(PLUGINS)) install: $(PLUGINS) - install -d $(DESTDIR)/usr/share/munin/plugins/ - install -m 755 $(PLUGINS) $(DESTDIR)/usr/share/munin/plugins + install -d $(DESTDIR)$(PLUGINDIR) + install -m 755 $(PLUGINS) $(DESTDIR)$(PLUGINDIR) %.py: % ln -s $< $@ |