[project @ peter@palfrader.org-20080411142618-ydy25z83locgohfb]
[mirror/dsa-nagios.git] / dsa-nagios-nrpe-config / debian / rules
1 #!/usr/bin/make -f
2
3 clean:
4         dh_testdir
5         dh_testroot
6         dh_clean
7
8 build:
9
10 install:
11         dh_testdir
12         dh_testroot
13         dh_clean -k
14         dh_installdirs
15
16         install -m 644 nrpe_dsa.cfg $(CURDIR)/debian/dsa-nagios-nrpe-config/etc/nagios
17         install -m 755 dsa-check-raid-sw $(CURDIR)/debian/dsa-nagios-nrpe-config/usr/lib/nagios/plugins
18         install -m 755 dsa-check-da-in-aliases $(CURDIR)/debian/dsa-nagios-nrpe-config/usr/lib/nagios/plugins
19
20
21 binary-indep: install
22         dh_testdir
23         dh_testroot
24         dh_installchangelogs 
25         dh_installdocs
26         dh_compress
27         dh_fixperms
28         dh_installdeb
29         dh_shlibdeps
30         dh_gencontrol
31         dh_md5sums
32         dh_builddeb
33
34 binary-arch: install
35 binary: binary-indep binary-arch
36
37 .PHONY: clean binary-indep binary-arch binary install build