aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2012-08-23 16:29:59 +0200
committerSebastien Bacher <seb128@ubuntu.com>2012-08-23 16:29:59 +0200
commitc436f6348a087b7b55aa96948b6a12a4bb6f9015 (patch)
tree9f90b9bd30f4c2ccea4c1ce78df9c74946c87970 /debian/rules
parent7a6621d316ea0825de80548f6d8db81e98f56099 (diff)
parentda6785e18dc73a968ce57055754bcc2718d4e131 (diff)
downloadayatana-indicator-session-c436f6348a087b7b55aa96948b6a12a4bb6f9015.tar.gz
ayatana-indicator-session-c436f6348a087b7b55aa96948b6a12a4bb6f9015.tar.bz2
ayatana-indicator-session-c436f6348a087b7b55aa96948b6a12a4bb6f9015.zip
* New upstream release:
- Menu items for users are too tall (lp: #1024395) - should update glib requirement (lp: #1023533) * Updating package to use current standards (dh9)
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