Debian Codegraph @

check_mysql_health/Makefile

raw symbols SCIP
1 PLUGIN := check_mysql_health
2 CLEANFILES := check_mysql_health
3
4 include ../common.mk
5
6 check_mysql_health:
7 set -e; for i in guess sub; do if [ ! -e src/config.$$i.bak ]; then cp src/config.$$i src/config.$$i.bak; fi; done
8 cp /usr/share/misc/config.* src
9 cd src && ./configure --prefix=/usr --enable-perfdata --enable-extendedinfo --with-nagios-user=nagios --with-nagios-group=nagios --with-statefiles-dir=/var/cache/nagios/ --with-mymodules-dir=/usr/lib/nagios/plugins/ --with-mymodules-dyn-dir=/usr/lib/nagios/plugins/
10 make -C src
11 cp src/plugins-scripts/check_mysql_health $@
12 # sed '2s,^,# nagios: -epn\n,' src/plugins-scripts/check_mysql_health > $@
13
14 clean::
15 [ ! -f src/Makefile ] || make -C src distclean
16 set -e; for i in guess sub; do if [ -e src/config.$$i.bak ]; then mv src/config.$$i.bak src/config.$$i; fi; done