mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
mnc: conditional make of munin-plugins-busybox
This commit is contained in:
parent
c32620c645
commit
aae73ff3b1
1
tools/munin-node-c/.gitignore
vendored
1
tools/munin-node-c/.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
# output files
|
# output files
|
||||||
/*.o
|
/*.o
|
||||||
/munin-node-c
|
/munin-node-c
|
||||||
|
/plugins/*
|
||||||
|
@ -13,9 +13,12 @@ clean:
|
|||||||
rm -f munin-node-c ${OBJS} ${LINKS}
|
rm -f munin-node-c ${OBJS} ${LINKS}
|
||||||
rm -Rf plugins
|
rm -Rf plugins
|
||||||
|
|
||||||
plugins:
|
plugins: plugins/.munin-plugins-busybox.installed
|
||||||
|
|
||||||
|
plugins/.munin-plugins-busybox.installed:
|
||||||
mkdir -p plugins
|
mkdir -p plugins
|
||||||
cd ../munin-plugins-busybox && make
|
cd ../munin-plugins-busybox && make
|
||||||
cd plugins && for i in $$(find ../../munin-plugins-busybox -type l); do ln -s $$i; done
|
cd plugins && for i in $$(find ../../munin-plugins-busybox -type l); do ln -s $$i; done
|
||||||
|
touch plugins/.munin-plugins-busybox.installed
|
||||||
|
|
||||||
.PHONY: all clean plugins
|
.PHONY: all clean plugins
|
||||||
|
1
tools/munin-plugins-busybox/.gitignore
vendored
Normal file
1
tools/munin-plugins-busybox/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.o
|
Loading…
Reference in New Issue
Block a user