[project @ peter@palfrader.org-20080414160519-5uemg5yfqtxa8f01]
[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         install -m 755 dsa-check-dabackup $(CURDIR)/debian/dsa-nagios-nrpe-config/usr/lib/nagios/plugins
20
21
22 binary-indep: install
23         dh_testdir
24         dh_testroot
25         dh_installchangelogs 
26         dh_installdocs
27         dh_compress
28         dh_fixperms
29         dh_installdeb
30         dh_shlibdeps
31         dh_gencontrol
32         dh_md5sums
33         dh_builddeb
34
35 binary-arch: install
36 binary: binary-indep binary-arch
37
38 .PHONY: clean binary-indep binary-arch binary install build