aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bb250c9..1359236 100644
--- a/Makefile
+++ b/Makefile
@@ -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 $< $@