]> mj.ucw.cz Git - mailman-filter.git/blob - debian/rules
Packaging scripts by MJ
[mailman-filter.git] / debian / rules
1 #!/usr/bin/make -f
2 # Rules for building of mailman-filter Debian package
3 # (c) 2011 Martin Mares <mj@ucw.cz>
4
5 # Uncomment this to turn on verbose mode.
6 #export DH_VERBOSE=1
7
8 build: build-stamp
9 build-stamp:
10         dh_testdir
11 #       $(MAKE)
12         touch build-stamp
13
14 clean:
15         dh_testdir
16         dh_testroot
17         rm -f build-stamp
18 #       $(MAKE) clean
19         dh_clean
20
21 binary-arch:
22
23 binary-indep: build
24         dh_testdir
25         dh_testroot
26         dh_prep
27         dh_installdirs usr/lib/mailman/Mailman/Handlers
28
29         install -m 644 Filter.py debian/mailman-filter/usr/lib/mailman/Mailman/Handlers/
30
31         dh_installchangelogs
32         dh_installdocs README
33         dh_compress
34         dh_fixperms
35         dh_installdeb
36         dh_gencontrol
37         dh_md5sums
38         dh_builddeb
39
40 binary: binary-indep binary-arch
41
42 .PHONY: build clean binary-indep binary-arch binary