From aae73ff3b184cdf29ed6887b10e831f74683baab Mon Sep 17 00:00:00 2001 From: Steve Schnepp Date: Sat, 9 Feb 2013 14:11:56 +0100 Subject: [PATCH] mnc: conditional make of munin-plugins-busybox --- tools/munin-node-c/.gitignore | 1 + tools/munin-node-c/Makefile | 5 ++++- tools/munin-plugins-busybox/.gitignore | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 tools/munin-plugins-busybox/.gitignore 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