Imported Debian patch 0.5.3-1
[debian/efibootmgr] / debian / rules
1 #!/usr/bin/make -f
2
3 configure: configure-stamp
4 configure-stamp:
5         dh_testdir
6
7         touch configure-stamp
8
9 build: configure-stamp build-stamp
10 build-stamp:
11         dh_testdir
12         $(MAKE)
13         touch build-stamp
14
15 clean:
16         dh_testdir
17         dh_testroot
18         rm -f build-stamp configure-stamp
19         -$(MAKE) clean
20         dh_clean
21
22 install: build
23         dh_testdir
24         dh_testroot
25         dh_clean -k
26         dh_installdirs
27
28         cp src/efibootmgr/efibootmgr debian/efibootmgr/bin/efibootmgr
29         chown root:root debian/efibootmgr/bin/efibootmgr
30         chmod 0755 debian/efibootmgr/bin/efibootmgr
31
32 # Build architecture-independent files here.
33 binary-indep: build install
34
35 # Build architecture-dependent files here.
36 binary-arch: build install
37         dh_testdir
38         dh_testroot
39         dh_installdocs
40         dh_installexamples
41         dh_installmenu
42         dh_installcron
43         dh_installman src/man/man8/efibootmgr.8
44         dh_installinfo
45         dh_installchangelogs doc/ChangeLog
46         dh_link
47         dh_strip
48         dh_compress
49         dh_fixperms
50         dh_installdeb
51         dh_shlibdeps
52         dh_gencontrol
53         dh_md5sums
54         dh_builddeb
55
56 binary: binary-indep binary-arch
57 .PHONY: build clean binary-indep binary-arch binary install configure