2
0
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:
Steve Schnepp 2013-02-09 14:11:56 +01:00
parent c32620c645
commit aae73ff3b1
3 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,4 @@
# output files # output files
/*.o /*.o
/munin-node-c /munin-node-c
/plugins/*

View File

@ -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

View File

@ -0,0 +1 @@
*.o