Merge branch 'master' of mathias-kettner.de:omd
[omd.git] / packages / check_logfiles / Makefile
blob8d4c3503895dd6a7aea46b228907584d65f2c732
1 include ../../Makefile.omd
3 NAME = check_logfiles
4 VERSION = 3.7.5.1
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_logfiles $(DESTDIR)$(OMD_ROOT)/lib/nagios/plugins/
26 skel:
28 clean:
29 rm -rf $(DIR)