From 316632529403a66c38b24ed492e6758189f760e4 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Thu, 23 Oct 2008 12:47:35 +0200 Subject: add $(PLUGINDIR) for direct installtion into /etc/munin/plugins/ --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 $< $@ -- cgit v1.2.3