]> git.deb.at Git - pkg/mmv.git/blob - debian/rules
fdfc5c45dc885f3fbe8fba56625d257af82e4802
[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:
7 # Builds the binary package.
8         dh_testdir
9         $(MAKE) CC="$(CC)" LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)"
10         touch build
11
12 clean:
13 # Undoes the effect of `make -f debian/rules build'.
14         dh_testdir
15         dh_auto_clean
16         dh_clean build debian/substvars
17
18 binary: binary-arch binary-indep
19
20 binary-indep:
21         dh_testdir
22
23 binary-arch: build
24         dh_testdir
25 # Makes a binary package.
26         dh_installdirs
27         dh_auto_install
28         dh_strip
29         dh_link
30         dh_installdocs
31         dh_installchangelogs
32         dh_compress
33         dh_lintian
34         dh_fixperms
35         dh_shlibdeps
36         dh_gencontrol
37         dh_md5sums
38         dh_builddeb