chiark / gitweb /
Debianization patch from upstream.
[python-cdb] / debian / rules
CommitLineData
1a25d7bd
MW
1#!/usr/bin/make -f
2
3export DH_COMPAT=3
4
5configure: configure-stamp
6configure-stamp:
7 dh_testdir
8 touch configure-stamp
9
10build: configure-stamp build-stamp
11build-stamp:
12 dh_testdir
13
14 python2.3 setup.py build
15
16 touch build-stamp
17
18clean:
19 dh_testdir
20 dh_testroot
21 rm -f build-stamp configure-stamp
22
23 rm -rf build dist
24
25 dh_clean
26
27install: build
28 dh_testdir
29 dh_testroot
30 dh_clean -k
31 dh_installdirs
32
33 python2.3 setup.py install --prefix=debian/python-cdb/usr
34
35binary-indep: build install
36
37binary-arch: build install
38 dh_testdir
39 dh_testroot
40 dh_installdocs
41 dh_installchangelogs ChangeLog
42 dh_link
43 dh_python
44 dh_strip
45 dh_compress
46 dh_fixperms
47 dh_installdeb
48 dh_shlibdeps
49 dh_gencontrol
50 dh_md5sums
51 dh_builddeb
52
53binary: binary-indep binary-arch
54.PHONY: build clean binary-indep binary-arch binary install configure