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