diff --git a/tools/munin-node-c/.gitignore b/tools/munin-node-c/.gitignore index 16edcbc0..91f33c2b 100644 --- a/tools/munin-node-c/.gitignore +++ b/tools/munin-node-c/.gitignore @@ -1,3 +1,4 @@ # output files /*.o /munin-node-c +/plugins/* diff --git a/tools/munin-node-c/Makefile b/tools/munin-node-c/Makefile index 58b4b59f..d4c79fdc 100644 --- a/tools/munin-node-c/Makefile +++ b/tools/munin-node-c/Makefile @@ -13,9 +13,12 @@ clean: rm -f munin-node-c ${OBJS} ${LINKS} rm -Rf plugins -plugins: +plugins: plugins/.munin-plugins-busybox.installed + +plugins/.munin-plugins-busybox.installed: mkdir -p plugins cd ../munin-plugins-busybox && make 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 diff --git a/tools/munin-plugins-busybox/.gitignore b/tools/munin-plugins-busybox/.gitignore new file mode 100644 index 00000000..5761abcf --- /dev/null +++ b/tools/munin-plugins-busybox/.gitignore @@ -0,0 +1 @@ +*.o