aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-07-08 09:22:34 -0500
committerTed Gould <ted@gould.cx>2011-07-08 09:22:34 -0500
commitd3fd0cd48d7455e4cbc103b52165c2551f396365 (patch)
tree1fbd307d08a216ae2af0d68945023b1ea9bb18fe /debian/rules
parent8fa33012e926fb370e9119199e0724665e85c6c8 (diff)
parent98391ec779a9a6393206eb0b87197f4edce00f64 (diff)
downloadayatana-indicator-messages-d3fd0cd48d7455e4cbc103b52165c2551f396365.tar.gz
ayatana-indicator-messages-d3fd0cd48d7455e4cbc103b52165c2551f396365.tar.bz2
ayatana-indicator-messages-d3fd0cd48d7455e4cbc103b52165c2551f396365.zip
Sync to U. Desktop
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules21
1 files changed, 16 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules
index e813915..219cf64 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,23 @@
#!/usr/bin/make -f
+DEB_BUILDDIR = build
+DEB_MAKE_FLAVORS = gtk2 gtk3
+
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/gnome.mk
-DEB_CONFIGURE_EXTRA_FLAGS += --disable-scrollkeeper
+DEB_MAKE_DESTDIRSKEL = $(CURDIR)/debian/tmp/@FLAVOR@
+DEB_DESTDIR = $(CURDIR)/debian/tmp/$(cdbs_make_curflavor)/
+
+DEB_CONFIGURE_FLAGS_gtk2 = --with-indicator-gtk=2
+DEB_CONFIGURE_FLAGS_gtk3 = --with-indicator-gtk=3
+DEB_CONFIGURE_EXTRA_FLAGS = --disable-static
+
LDFLAGS += -Wl,-z,defs -Wl,--as-needed
-binary-install/indicator-messages::
- # remove .a/.la clutter
- rm -f debian/$(cdbs_curpkg)/usr/lib/indicators/*/*.a
- rm -f debian/$(cdbs_curpkg)/usr/lib/indicators/*/*.la
+debian/stamp-autotools/gtk2: cdbs_configure_flags += $(DEB_CONFIGURE_FLAGS_gtk2)
+debian/stamp-autotools/gtk3: cdbs_configure_flags += $(DEB_CONFIGURE_FLAGS_gtk3)
+
+common-install-arch::
+ find debian/tmp -name \*.la -delete
+ find debian/tmp -name \*.a -delete