chiark / gitweb /
debian: Just build for the default version.
[checkpath-python] / debian / rules
CommitLineData
936ed019 1#! /usr/bin/make -f
2
3export DH_COMPAT = 4
4
936ed019 5build: build-stamp
6
7build-stamp:
d9fc1019 8 python setup.py build
936ed019 9 touch build-stamp
10
11clean:
12 dh_clean
13 make clean
14 rm -rf build build-stamp
15
16install: build
17 dh_clean
d9fc1019
MW
18 python setup.py build
19 python setup.py install --root=debian/python-checkpath
936ed019 20
21binary-arch: install
22 dh_testdir -a
23 dh_testroot -a
24 dh_compress -a
25 dh_installdocs -a
26 dh_strip -a
27 dh_shlibdeps -a
28 dh_python -a
29 dh_gencontrol -a
30 dh_fixperms -a
31 dh_installdeb -a
32 dh_md5sums -a
33 dh_builddeb -a
34
d9fc1019 35binary: binary-arch
936ed019 36
37source:
38 rm -rf dist/*.tar.gz dist/=deb=
39 python setup.py sdist
40 mkdir dist/=deb=
41 cd dist/=deb=; tar xvfz ../*.tar.gz
42 d=`pwd`; cd ..; dpkg-source -i -i'/\.svn/' -b $$d/dist/=deb=/*
43 rm -rf dist/=deb=
44
45.PHONY: binary binary-arch binary-indep clean install source build