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.
9 # Uncomment this to turn on verbose mode.
12 DESTDIR=debian/check-openmanage
14 configure: configure-stamp
22 build-stamp: configure-stamp
29 rm -f build-stamp configure-stamp
37 install -p -m 0755 check_openmanage $(DESTDIR)/usr/lib/nagios/plugins
39 binary-indep: build install
41 binary-arch: build install
44 dh_installchangelogs CHANGES
46 dh_installexamples check_openmanage.php example.conf
47 dh_installman man/check_openmanage.8
48 dh_installman man/check_openmanage.conf.5
60 binary: binary-indep binary-arch
61 .PHONY: build clean binary-indep binary-arch binary install configure