blob: 24d0952e2f2cd3fe003e86f2a24d0f16aced0439 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/usr/bin/make -f
# Should be include-links, but that somehow fails.
export DH_PYCENTRAL=nomove
export DEBVER=$(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
export CFLAGS=-Wno-write-strings -DCOMPAT_0_7
%:
dh --with python-central $@
override_dh_installdocs:
dh_installdocs
ln -sf ../../../../javascript/jquery/jquery.js \
debian/python-apt/usr/share/doc/python-apt/html/_static/jquery.js
rm -rf debian/python-apt-dbg/usr/share/doc/python-apt-dbg
ln -s python-apt debian/python-apt-dbg/usr/share/doc/python-apt-dbg
override_dh_strip:
dh_strip --dbg-package=python-apt-dbg
override_dh_compress:
dh_compress -X.js -X_static/* -X _sources/* -X_sources/*/* -X.inv
override_dh_auto_test:
set -e; for python in $(shell pyversions -r); do \
$$python tests/test_all.py -q; \
done;
|