diff options
Diffstat (limited to 'debian/rules')
-rw-r--r-- | debian/rules | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100644 index 0000000..8534cd9 --- /dev/null +++ b/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/gnome.mk + +DEB_CONFIGURE_EXTRA_FLAGS = --disable-static + +CFLAGS += -Wno-error=deprecated-declarations +LDFLAGS += -Wl,-z,defs -Wl,--as-needed + +common-install-arch:: + 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/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; + + |