284ef3bea1466333e1c77b2d5ac82e85d985b82a
[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         dh_testdir
11         dh_auto_build -- LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS) -DIS_SYSV -DHAS_DIRENT -DHAS_RENAME"
12
13 clean:
14         dh_testdir
15         dh_auto_clean
16         dh_clean
17
18 binary: binary-arch binary-indep
19 binary-indep:
20         dh_testdir
21
22 binary-arch: build
23         dh_testdir
24         dh_installdirs
25         dh_auto_install
26         dh_strip
27         dh_link
28         dh_installdocs
29         dh_installchangelogs
30         dh_compress
31         dh_lintian
32         dh_fixperms
33         dh_shlibdeps
34         dh_gencontrol
35         dh_md5sums
36         dh_builddeb