aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2009-12-16 16:56:19 -0500
committerKen VanDine <ken.vandine@canonical.com>2009-12-16 16:56:19 -0500
commit2ba572c4055412bbe6072a8e09bbc94580d50c94 (patch)
treef374e945996962bf1f8592fcd771de447857105d /debian/rules
parent23b19e990aca3bfe31f01bb960f4cfd390d6e294 (diff)
downloadayatana-indicator-application-2ba572c4055412bbe6072a8e09bbc94580d50c94.tar.gz
ayatana-indicator-application-2ba572c4055412bbe6072a8e09bbc94580d50c94.tar.bz2
ayatana-indicator-application-2ba572c4055412bbe6072a8e09bbc94580d50c94.zip
Added mono bindings
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules16
1 files changed, 14 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index 1f3053a..7936902 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,14 +1,16 @@
#!/usr/bin/make -f
-
DEB_PYTHON_SYSTEM=pycentral
PY_VERSIONS = $(shell pyversions --requested debian/control)
+export MONO_SHARED_DIR=$(CURDIR)
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools-vars.mk
+include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
DEB_CONFIGURE_EXTRA_FLAGS += --enable-gtk-doc
+API_VERSION = 0.1
configure-stamp-%:
mkdir build-$*
@@ -30,7 +32,6 @@ install-stamp-%:
install/python-appindicator:: $(addprefix install-stamp-, $(PY_VERSIONS))
-
binary-install/python-appindicator::
dh_pycentral
@@ -56,9 +57,20 @@ binary-post-install/indicator-application::
find debian/indicator-application/usr/lib -name \*.la -exec rm {} \;
find debian/indicator-application/usr/lib -name \*.a -exec rm {} \;
+binary/libappindicator0-cil:: binary-arch
+binary-arch:
+ dh_clifixperms -i
+ dh_installdeb -i
+ dh_makeclilibs -m $(API_VERSION)
+ dh_clideps -i -d
+
+
+common-binary-predeb-arch:: list-missing
+
clean::
-rm -rf $(addprefix build-, $(PY_VERSIONS))
-rm -rf $(addprefix configure-stamp-, $(PY_VERSIONS))
-rm -rf $(addprefix build-stamp-, $(PY_VERSIONS))
-rm -rf $(addprefix install-stamp-, $(PY_VERSIONS))
+ rm -rf $(MONO_SHARED_DIR)/.wapi