blob: bb250c9da9cf47ff357e83b2759dcf64befd5750 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
VERSION=0.0.1
PKG=munin-libvirt-plugins
PLUGINS=libvirt-cputime \
libvirt-blkstat \
libvirt-ifstat \
libvirt-mem
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
%.py: %
ln -s $< $@
pychecker -q -e Error $@
check: $(PYFILES)
clean:
rm -f *.py *.pyc
dist:
git-archive --format=tar --prefix=$(PKG)-$(VERSION)/ HEAD | gzip -c > ../$(PKG)-$(VERSION).tar.gz
|