aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/control6
-rwxr-xr-xdebian/rules14
2 files changed, 4 insertions, 16 deletions
diff --git a/debian/control b/debian/control
index e72d68f..0944f42 100644
--- a/debian/control
+++ b/debian/control
@@ -2,9 +2,9 @@ Source: indicator-power
Section: gnome
Priority: optional
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
-Build-Depends: debhelper (>= 9),
- dh-autoreconf,
- autopoint,
+Build-Depends: cmake,
+ debhelper (>= 9),
+ dh-translations,
intltool,
libgtest-dev,
libglib2.0-dev (>= 2.36),
diff --git a/debian/rules b/debian/rules
index 36a22d7..885b94c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,20 +6,8 @@
export DPKG_GENSYMBOLS_CHECK_LEVEL=4
-ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
- TESTS=yes
-else
- TESTS=no
-endif
-
%:
- dh $@ --with autoreconf
-
-override_dh_autoreconf:
- NOCONFIGURE=1 dh_autoreconf ./autogen.sh
-
-override_dh_auto_configure:
- dh_auto_configure -- --enable-tests=$(TESTS)
+ dh $@ --with translations
override_dh_install:
find debian/indicator-power -name \*.la -delete