1 include ..
/..
/Makefile.omd
5 DIR
= Webinject-
$(VERSION
)
11 for p in patches
/*.patch
; do \
12 echo
"applying $$p..." ; \
13 ( cd
$(DIR
) ; patch
-p1
) < $$p || exit
1; \
15 export PERL5LIB
=$(P5TMPDIST
)/dest
/lib
/perl5
; \
16 cd
$(DIR
) && echo
"" |
$(PERL
) Makefile.PL
17 cd
$(DIR
) && $(MAKE
) check_webinject
20 [ -d
$(DESTDIR
)$(OMD_ROOT
)/lib
/nagios
/plugins
] || mkdir
-p
$(DESTDIR
)$(OMD_ROOT
)/lib
/nagios
/plugins
21 install -m
755 $(DIR
)/check_webinject
$(DESTDIR
)$(OMD_ROOT
)/lib
/nagios
/plugins
/