]> git.uio.no Git - check_openmanage.git/blob - debian/rules
added workaround for omsa 7.1.0 bug with uncertified disks
[check_openmanage.git] / debian / rules
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # Sample debian/rules that uses debhelper.
4 # This file was originally written by Joey Hess and Craig Small.
5 # As a special exception, when this file is copied by dh-make into a
6 # dh-make output file, you may use that output file without restriction.
7 # This special exception was added by Craig Small in version 0.37 of dh-make.
8
9 # Uncomment this to turn on verbose mode.
10 #export DH_VERBOSE=1
11
12 DESTDIR=debian/check-openmanage
13
14 configure: configure-stamp
15 configure-stamp:
16         dh_testdir
17         touch configure-stamp
18
19
20 build: build-stamp
21
22 build-stamp: configure-stamp  
23         dh_testdir
24         touch $@
25
26 clean: 
27         dh_testdir
28         dh_testroot
29         rm -f build-stamp configure-stamp
30         dh_clean 
31
32 install: build
33         dh_testdir
34         dh_testroot
35         dh_clean -k 
36         dh_installdirs
37         install -p -m 0755 check_openmanage $(DESTDIR)/usr/lib/nagios/plugins
38
39 binary-indep: build install
40
41 binary-arch: build install
42         dh_testdir
43         dh_testroot
44         dh_installchangelogs CHANGES
45         dh_installdocs
46         dh_installexamples check_openmanage.php example.conf
47         dh_installman man/check_openmanage.8
48         dh_installman man/check_openmanage.conf.5
49         dh_link
50         dh_strip
51         dh_compress
52         dh_fixperms
53         dh_perl
54         dh_installdeb
55         dh_shlibdeps
56         dh_gencontrol
57         dh_md5sums
58         dh_builddeb
59
60 binary: binary-indep binary-arch
61 .PHONY: build clean binary-indep binary-arch binary install configure