diff options
Diffstat (limited to 'debian/rules')
-rw-r--r-- | debian/rules | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/debian/rules b/debian/rules index 43ffda2..8534cd9 100644 --- a/debian/rules +++ b/debian/rules @@ -1,31 +1,20 @@ #!/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_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 CFLAGS += -Wno-error=deprecated-declarations 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-install-arch:: - find debian/tmp -name \*.la -delete - find debian/tmp -name \*.a -delete - find debian/tmp -name classic-desktop.sh | xargs chmod +x + find debian/indicator-session -name \*.la -delete + find debian/indicator-session -name \*.a -delete + find debian/indicator-session -name classic-desktop.sh | xargs chmod +x cd po; intltool-update --pot --verbose # Language packs - for d in $$(find debian/tmp -type f \( -name "*.desktop" -o -name "*.directory" \) ); do \ + for d in $$(find debian/indicator-session -type f \( -name "*.desktop" -o -name "*.directory" \) ); do \ sed -ri '/^(Name|GenericName|Comment|X-GNOME-FullName)\[/d' $$d; \ echo "X-Ubuntu-Gettext-Domain=indicator-session" >> $$d; \ done; |