diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2010-12-08 04:27:50 -0500 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2010-12-08 04:27:50 -0500 |
commit | be69a42947c59dc9a047e3cb304e858db669bb95 (patch) | |
tree | c3b66304300acb67f41ed8dd931df52a80c05560 /debian/rules | |
parent | 853fe81d0bab3ba0011a6759026223e96013a762 (diff) | |
parent | c05b64af5fc28789f404629d64a1ade4d6c6da34 (diff) | |
download | ayatana-indicator-application-be69a42947c59dc9a047e3cb304e858db669bb95.tar.gz ayatana-indicator-application-be69a42947c59dc9a047e3cb304e858db669bb95.tar.bz2 ayatana-indicator-application-be69a42947c59dc9a047e3cb304e858db669bb95.zip |
* New upstream release.
* A race fix on the dbus name (LP: #526499)
* Fixing the Watcher Interface
* Fixes to build with GTK 2/3
* Fixes to build with valac-0.12
* debian/control
- Changed the valac build depends to valac-0.12
* debian/python-appindicator.install
- Make sure python2.6 and python2.7 files get included
* debian/rules
- Fix builds for multiple python versions
- disable parallel builds, it breaks the mono binding generation
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/debian/rules b/debian/rules index 6e31d41..267a43b 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,9 @@ #!/usr/bin/make -f +export DH_VERBOSE=1 +DEB_SRCDIR = . +DEB_BUILDDIR = $(DEB_SRCDIR)/build + DEB_PYTHON_SYSTEM=pycentral PY_VERSIONS = $(shell pyversions --requested debian/control) export MONO_SHARED_DIR=$(CURDIR) @@ -8,8 +12,8 @@ export CSC=/usr/bin/mono-csc 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_BUILD_PARALLEL = no +DEB_PARALLEL_JOBS:=1 DEB_CONFIGURE_EXTRA_FLAGS += --enable-gtk-doc API_VERSION = 0.1 @@ -24,19 +28,23 @@ configure-stamp-%: configure/python-appindicator:: $(addprefix configure-stamp-, $(PY_VERSIONS)) build-stamp-%: - make -C build-$*/bindings/python + PYTHON=`which $*` \ + $(MAKE) -C build-$* touch $@ build/python-appindicator:: $(addprefix build-stamp-, $(PY_VERSIONS)) install-stamp-%: - make -C build-$*/bindings/python install DESTDIR=$(CURDIR)/debian/tmp + PYTHON=`which $*` \ + $(MAKE) -C build-$*/bindings/python install DESTDIR=$(CURDIR)/debian/tmp + dh_installdirs -ppython-appindicator -s + dh_install -ppython-appindicator -s touch $@ install/python-appindicator:: $(addprefix install-stamp-, $(PY_VERSIONS)) -binary-install/python-appindicator:: - dh_pycentral +binary-predeb/python-appindicator:: + DH_PYCENTRAL=include-links dh_pycentral -ppython-appindicator -s binary-install/libappindicator0.1-cil:: dh_clistrip @@ -51,23 +59,28 @@ binary-predeb/libappindicator0.1-cil:: binary-fixup/libappindicator1 dh_clideps -plibappindicator0.1-cil configure-stamp: - $(DEB_CONFIGURE_SCRIPT) $(DEB_CONFIGURE_NORMAL_ARGS) $(DEB_CONFIGURE_EXTRA_FLAGS) + cd $(DEB_BUILDDIR) && \ + $(DEB_CONFIGURE_SCRIPT) $(DEB_CONFIGURE_NORMAL_ARGS) $(DEB_CONFIGURE_EXTRA_FLAGS) touch $@ configure/indicator-application:: configure-stamp build-stamp: - make + $(MAKE) -C $(DEB_BUILDDIR) touch $@ build/indicator-application:: build-stamp install-stamp: - make install DESTDIR=$(CURDIR)/debian/tmp + $(MAKE) -C $(DEB_BUILDDIR) install DESTDIR=$(CURDIR)/debian/tmp touch $@ install/indicator-application:: install-stamp +binary-predeb/libappindicator1:: install-stamp + dh_fixperms + dh_strip + 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 {} \; |