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 for p in patches
/*.diff
; do \
17 echo
"applying $$p..." ; \
18 ( cd
$(DIR
) ; patch
-p1
-b
) < $$p ; \
20 cd
$(DIR
) ; .
/configure
$(CONFIGUREOPTS
)
24 install -m
755 $(DIR
)/src
/nsca
$(DESTDIR
)$(OMD_ROOT
)/bin
25 install -m
755 $(DIR
)/src
/send_nsca
$(DESTDIR
)$(OMD_ROOT
)/bin
27 mkdir
$(DESTDIR
)$(OMD_ROOT
)/share
/doc
/nsca
28 install -m
644 $(DIR
)/README
$(DESTDIR
)$(OMD_ROOT
)/share
/doc
/nsca
29 install -m
644 $(DIR
)/LEGAL
$(DESTDIR
)$(OMD_ROOT
)/share
/doc
/nsca
30 install -m
644 $(DIR
)/SECURITY
$(DESTDIR
)$(OMD_ROOT
)/share
/doc
/nsca