check_logfiles: 3.7.5.1
[omd.git] / packages / check_oracle_health / Makefile
blob807aa7cc07d93560f6aeb8e37d1ee0d55bdd336b
1 include ../../Makefile.omd
3 NAME = check_oracle_health
4 VERSION = 2.1.3.4
5 DIR = $(NAME)-$(VERSION)
7 .PHONY: skel
9 # Configure options for Nagios. Since we want to compile
10 # as non-root, we use our own user and group for compiling.
11 # All files will be packaged as user 'root' later anyway.
12 CONFIGUREOPTS = ""
14 build:
15 tar xzf $(DIR).tar.gz
16 for i in configure.ac aclocal.m4 configure Makefile.am Makefile.in ; do \
17 test -f $(DIR)/$$i && touch $(DIR)/$$i ; \
18 done
19 cd $(DIR) ; ./configure $(CONFIGUREOPTS)
20 $(MAKE) -C $(DIR)
22 install:
23 [ -d $(DESTDIR)$(OMD_ROOT)/lib/nagios/plugins ] || mkdir -p $(DESTDIR)$(OMD_ROOT)/lib/nagios/plugins
24 install -m 755 $(DIR)/plugins-scripts/check_oracle_health $(DESTDIR)$(OMD_ROOT)/lib/nagios/plugins
26 skel:
28 clean:
29 rm -rf $(DIR)