aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2010-12-08 13:10:00 -0500
committerKen VanDine <ken.vandine@canonical.com>2010-12-08 13:10:00 -0500
commita227646d51c40f97e0c3b56d7b9440d198a121ff (patch)
tree969c48436179034ea59e46f334ad24f945d867aa /debian/rules
parent1860f397fba552cfa443413e543a8b5d583ca2f0 (diff)
downloadlibayatana-appindicator-0.2.90-0ubuntu2.tar.gz
libayatana-appindicator-0.2.90-0ubuntu2.tar.bz2
libayatana-appindicator-0.2.90-0ubuntu2.zip
releasing version 0.2.90-0ubuntu20.2.90-0ubuntu2
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules9
1 files changed, 6 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules
index 23237d2..cfb2f4b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
DEB_SRCDIR = .
DEB_BUILDDIR = $(DEB_SRCDIR)/build
-DEB_PYTHON_SYSTEM=pycentral
+DEB_PYTHON_SYSTEM=dh_python2
PY_VERSIONS = $(shell pyversions --requested debian/control)
export MONO_SHARED_DIR=$(CURDIR)
export CSC=/usr/bin/mono-csc
@@ -42,7 +42,9 @@ install-stamp-%:
install/python-appindicator:: $(addprefix install-stamp-, $(PY_VERSIONS))
binary-predeb/python-appindicator::
- DH_PYCENTRAL=include-links dh_pycentral -ppython-appindicator -s
+ dh_python2 -ppython-appindicator
+ find debian/python-appindicator/usr/lib -name \*.la -exec rm {} \;
+ find debian/python-appindicator/usr/lib -name \*.a -exec rm {} \;
binary-install/libappindicator0.1-cil::
dh_clistrip
@@ -84,6 +86,8 @@ binary-post-install/indicator-application::
find debian/indicator-application/usr/lib -name \*.a -exec rm {} \;
common-binary-predeb-arch:: list-missing
+ dh_fixperms
+ dh_strip
clean::
-rm -rf $(addprefix build-, $(PY_VERSIONS))
@@ -91,4 +95,3 @@ clean::
-rm -rf $(addprefix build-stamp-, $(PY_VERSIONS))
-rm -rf $(addprefix install-stamp-, $(PY_VERSIONS))
rm -rf $(MONO_SHARED_DIR)/.wapi
-