diff options
| author | Ted Gould <ted@gould.cx> | 2011-07-07 15:30:05 -0500 |
|---|---|---|
| committer | Ted Gould <ted@gould.cx> | 2011-07-07 15:30:05 -0500 |
| commit | f374f8e3f2223684bfce3b2cd811d41e5f553ce0 (patch) | |
| tree | a15f0f10bb9ed36e044cfa3a47de6b3963fe3175 /debian/rules | |
| parent | e27d98a99ceaee4a3d003310fe8dbd295146a539 (diff) | |
| parent | f099efd0cd93363218430b32e422f21a5aec7b50 (diff) | |
| download | ayatana-indicator-application-f374f8e3f2223684bfce3b2cd811d41e5f553ce0.tar.gz ayatana-indicator-application-f374f8e3f2223684bfce3b2cd811d41e5f553ce0.tar.bz2 ayatana-indicator-application-f374f8e3f2223684bfce3b2cd811d41e5f553ce0.zip | |
U. Desktop Sync
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/debian/rules b/debian/rules index 7a7c9e8..7950ed1 100755 --- a/debian/rules +++ b/debian/rules @@ -1,17 +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 -include /usr/share/cdbs/1/rules/utils.mk -include /usr/share/cdbs/1/rules/patchsys-quilt.mk -LDFLAGS += -Wl,-z,defs -Wl,--as-needed +DEB_MAKE_DESTDIRSKEL = $(CURDIR)/debian/tmp/@FLAVOR@ +DEB_DESTDIR = $(CURDIR)/debian/tmp/$(cdbs_make_curflavor)/ -common-binary-predeb-arch:: list-missing +DEB_CONFIGURE_FLAGS_gtk2 = --with-gtk=2 +DEB_CONFIGURE_FLAGS_gtk3 = --with-gtk=3 +DEB_CONFIGURE_EXTRA_FLAGS = --disable-static + +LDFLAGS += -Wl,-z,defs -Wl,--as-needed -DEB_DH_MAKESHLIBS_ARGS = -Xusr/lib/indicators +debian/stamp-autotools/gtk2: cdbs_configure_flags += $(DEB_CONFIGURE_FLAGS_gtk2) +debian/stamp-autotools/gtk3: cdbs_configure_flags += $(DEB_CONFIGURE_FLAGS_gtk3) -binary-install/indicator-application:: - # remove .a/.la clutter - rm -f debian/$(cdbs_curpkg)/usr/lib/indicators/*/*.a - rm -f debian/$(cdbs_curpkg)/usr/lib/indicators/*/*.la +common-install-arch:: + find debian/tmp -name \*.la -delete + find debian/tmp -name \*.a -delete |
