aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-24 17:02:11 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-24 17:21:20 +0200
commit6a978fc18dd356d0485d3b4e090ed5f20acfea38 (patch)
tree96dff06e22c89291f5f2e2339c29d4f987b42195
parent906c9a48e178bda777a68c1219117a948df844b1 (diff)
downloadlibayatana-appindicator-6a978fc18dd356d0485d3b4e090ed5f20acfea38.tar.gz
libayatana-appindicator-6a978fc18dd356d0485d3b4e090ed5f20acfea38.tar.bz2
libayatana-appindicator-6a978fc18dd356d0485d3b4e090ed5f20acfea38.zip
debian/rules: Only dh_install cil packages on architectures that support Mono.
-rwxr-xr-xdebian/rules6
1 files changed, 4 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index 352d121..5636688 100755
--- a/debian/rules
+++ b/debian/rules
@@ -72,8 +72,10 @@ override_dh_install:
dh_install -plibayatana-appindicator3-1 --fail-missing --sourcedir=debian/tmp/gtk3
dh_install -plibayatana-appindicator3-dev --fail-missing --sourcedir=debian/tmp/gtk3
dh_install -pgir1.2-ayatanaappindicator3-0.1 --fail-missing --sourcedir=debian/tmp/gtk3
- dh_install -plibayatana-appindicator0.1-cil --fail-missing --sourcedir=debian/tmp/gtk2
- dh_install -plibayatana-appindicator0.1-cil-dev --fail-missing --sourcedir=debian/tmp/gtk2
+ if echo amd64 arm64 armel armhf i386 mipsel ppc64el s390x kfreebsd-amd64 kfreebsd-i386 powerpc ppc64 | grep -q $(DEB_HOST_ARCH); then \
+ dh_install -plibayatana-appindicator0.1-cil --fail-missing --sourcedir=debian/tmp/gtk2; \
+ dh_install -plibayatana-appindicator0.1-cil-dev --fail-missing --sourcedir=debian/tmp/gtk2; \
+ fi
override_dh_auto_test: $(FLAVORS:%=dotest-%)