diff options
| author | Ted Gould <ted@gould.cx> | 2011-07-07 16:22:29 -0500 |
|---|---|---|
| committer | Ted Gould <ted@gould.cx> | 2011-07-07 16:22:29 -0500 |
| commit | 64b442893f7ae6d4201f72535175a2956f448ddf (patch) | |
| tree | 6aa4dfb09dfb3c50d56c867b384613435d6e55f3 /debian/rules | |
| parent | d84d6a67d0c63d270462cade09d33efc9d2b6de8 (diff) | |
| parent | 33d9b7f27eed027e1986ba4197d14434bc6ce37b (diff) | |
| download | ayatana-indicator-datetime-64b442893f7ae6d4201f72535175a2956f448ddf.tar.gz ayatana-indicator-datetime-64b442893f7ae6d4201f72535175a2956f448ddf.tar.bz2 ayatana-indicator-datetime-64b442893f7ae6d4201f72535175a2956f448ddf.zip | |
Merging U. Desktop
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/debian/rules b/debian/rules index baf32ef..2ad101c 100755 --- a/debian/rules +++ b/debian/rules @@ -1,14 +1,25 @@ #!/usr/bin/make -f +DEB_BUILDDIR = build +DEB_MAKE_FLAVORS = gtk2 gtk3 + +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/rules/autoreconf.mk include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/rules/simple-patchsys.mk -include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/class/gnome.mk -include /usr/share/cdbs/1/rules/utils.mk -include /usr/share/cdbs/1/rules/autoreconf.mk -install/indicator-datetime:: - find debian/indicator-datetime/usr/lib -name \*.la -exec rm {} \; - find debian/indicator-datetime/usr/lib -name \*.a -exec rm {} \; +DEB_MAKE_DESTDIRSKEL = $(CURDIR)/debian/tmp/@FLAVOR@ +DEB_DESTDIR = $(CURDIR)/debian/tmp/$(cdbs_make_curflavor)/ + +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 + +debian/stamp-autotools/gtk2: cdbs_configure_flags += $(DEB_CONFIGURE_FLAGS_gtk2) +debian/stamp-autotools/gtk3: cdbs_configure_flags += $(DEB_CONFIGURE_FLAGS_gtk3) -common-binary-post-install-arch:: list-missing +common-install-arch:: + find debian/tmp -name \*.la -delete + find debian/tmp -name \*.a -delete |
