20 |
build-stamp: |
build-stamp: |
21 |
dh_testdir |
dh_testdir |
22 |
|
|
23 |
|
cp setup.py setup.py.orig |
24 |
|
patch -p0 < debian/setup.py.patch |
25 |
python setup.py build |
python setup.py build |
26 |
|
mv setup.py.orig setup.py |
27 |
|
|
28 |
touch build-stamp |
touch build-stamp |
29 |
|
|
30 |
clean: |
clean: |
31 |
dh_testdir |
dh_testdir |
32 |
dh_testroot |
dh_testroot |
33 |
|
cp setup.py setup.py.orig |
34 |
|
patch -p0 < debian/setup.py.patch |
35 |
python setup.py clean |
python setup.py clean |
36 |
|
mv setup.py.orig setup.py |
37 |
rm -f build-stamp |
rm -f build-stamp |
38 |
rm -rf build |
rm -rf build |
39 |
|
|
45 |
dh_clean |
dh_clean |
46 |
dh_installdirs |
dh_installdirs |
47 |
|
|
48 |
|
cp setup.py setup.py.orig |
49 |
|
patch -p0 < debian/setup.py.patch |
50 |
python setup.py install --prefix=/usr --no-compile --root=`pwd`/debian/thuban |
python setup.py install --prefix=/usr --no-compile --root=`pwd`/debian/thuban |
51 |
|
mv setup.py.orig setup.py |
52 |
ln -fs ../lib/thuban/thuban.py `pwd`/debian/thuban/usr/bin/thuban |
ln -fs ../lib/thuban/thuban.py `pwd`/debian/thuban/usr/bin/thuban |
53 |
|
cd debian/thuban; patch -p1 < ../bitmappath.patch; cd ../../ |
54 |
|
|
55 |
# Build architecture-dependent files here. |
# Build architecture-dependent files here. |
56 |
binary-arch: build install |
binary-arch: build install |