diff --git a/tools/munin-node-c/Makefile b/tools/munin-node-c/Makefile index bec42767..58b4b59f 100644 --- a/tools/munin-node-c/Makefile +++ b/tools/munin-node-c/Makefile @@ -11,4 +11,11 @@ munin-node-c: ${OBJS} ${CC} ${CFLAGS} $^ -o $@ clean: rm -f munin-node-c ${OBJS} ${LINKS} -.PHONY: all clean + rm -Rf plugins + +plugins: + mkdir -p plugins + cd ../munin-plugins-busybox && make + cd plugins && for i in $$(find ../../munin-plugins-busybox -type l); do ln -s $$i; done + +.PHONY: all clean plugins