aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rw-r--r--debian/rules26
1 files changed, 8 insertions, 18 deletions
diff --git a/debian/rules b/debian/rules
index 8534cd9..d010d87 100644
--- a/debian/rules
+++ b/debian/rules
@@ -1,22 +1,12 @@
#!/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;
+%:
+ dh $@ --with translations
+override_dh_auto_test:
+ echo "Disabling tests until they are fixed"
+override_dh_install:
+ find debian/indicator-session/usr/lib -name *.la -delete
+ find debian/indicator-session/usr/lib -name *.a -delete
+ dh_install --fail-missing