1 include ..
/..
/Makefile.omd
5 DIR
= $(NAME
)-$(VERSION
)
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.
16 set
-e
; for p in patches
/*.dif
; do \
17 echo
"applying $$p..." ; \
18 ( cd
$(DIR
) ; patch
-p1
-b
) < $$p ; \
20 cd
$(DIR
) ; .
/configure
$(CONFIGUREOPTS
)
24 install -m
755 $(DIR
)/src
/check_nrpe
$(DESTDIR
)$(OMD_ROOT
)/lib
/nagios
/plugins
26 mkdir
$(DESTDIR
)$(OMD_ROOT
)/share
/doc
/nrpe
27 install -m
644 $(DIR
)/README
$(DESTDIR
)$(OMD_ROOT
)/share
/doc
/nrpe
28 install -m
644 $(DIR
)/LEGAL
$(DESTDIR
)$(OMD_ROOT
)/share
/doc
/nrpe
29 install -m
644 $(DIR
)/SECURITY
$(DESTDIR
)$(OMD_ROOT
)/share
/doc
/nrpe