]> git.deb.at Git - pkg/mmv.git/blob - debian/rules
Use dh_auto_build
[pkg/mmv.git] / debian / rules
1 #! /usr/bin/make -f
2
3 DPKG_EXPORT_BUILDFLAGS = 1
4 include /usr/share/dpkg/buildflags.mk
5
6 build: build-arch build-indep
7 build-arch: build-stamp
8 build-indep: build-stamp
9 build-stamp:
10 # Builds the binary package.
11         dh_testdir
12         dh_auto_build -- LDFLAGS="$(LDFLAGS)"
13
14 clean:
15 # Undoes the effect of `make -f debian/rules build'.
16         dh_testdir
17         dh_auto_clean
18         dh_clean
19
20 binary: binary-arch binary-indep
21
22 binary-indep:
23         dh_testdir
24
25 binary-arch: build
26         dh_testdir
27 # Makes a binary package.
28         dh_installdirs
29         dh_auto_install
30         dh_strip
31         dh_link
32         dh_installdocs
33         dh_installchangelogs
34         dh_compress
35         dh_lintian
36         dh_fixperms
37         dh_shlibdeps
38         dh_gencontrol
39         dh_md5sums
40         dh_builddeb