5 |
# Uncomment this to turn on verbose mode. |
# Uncomment this to turn on verbose mode. |
6 |
#export DH_VERBOSE=1 |
#export DH_VERBOSE=1 |
7 |
|
|
8 |
|
include /usr/share/cdbs/1/rules/simple-patchsys.mk |
9 |
|
|
10 |
# This is the debhelper compatibility version to use. |
# This is the debhelper compatibility version to use. |
11 |
export DH_COMPAT=4 |
export DH_COMPAT=4 |
12 |
|
|
22 |
build-stamp: |
build-stamp: |
23 |
dh_testdir |
dh_testdir |
24 |
|
|
25 |
python setup.py build |
python setup.py build_ext --use-wx-python-swig-hack build |
26 |
|
# Multi-language support: |
27 |
|
cd po; make mo |
28 |
touch build-stamp |
touch build-stamp |
29 |
|
|
30 |
clean: |
clean:: |
31 |
dh_testdir |
dh_testdir |
32 |
dh_testroot |
dh_testroot |
33 |
python setup.py clean |
python setup.py clean |
44 |
|
|
45 |
python setup.py install --prefix=/usr --no-compile --root=`pwd`/debian/thuban |
python setup.py install --prefix=/usr --no-compile --root=`pwd`/debian/thuban |
46 |
ln -fs ../lib/thuban/thuban.py `pwd`/debian/thuban/usr/bin/thuban |
ln -fs ../lib/thuban/thuban.py `pwd`/debian/thuban/usr/bin/thuban |
47 |
|
cd debian/thuban; patch -p1 < ../bitmappath.patch; cd ../../ |
48 |
|
|
49 |
# Build architecture-dependent files here. |
# Build architecture-dependent files here. |
50 |
binary-arch: build install |
binary-arch: build install |