aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMathieu Trudel-Lapierre <mathieu-tl@ubuntu.com>2013-08-05 13:57:24 -0400
committerMathieu Trudel-Lapierre <mathieu-tl@ubuntu.com>2013-08-05 13:57:24 -0400
commita8d98f5d7aed169b87880caf0738998b348d698a (patch)
tree268786b7b1e3ac084af7915350c6ee061e099f1a /debian/rules
parent1677a55cd2fee4da415f4a78b15c6a24bd3f609c (diff)
downloadayatana-indicator-keyboard-a8d98f5d7aed169b87880caf0738998b348d698a.tar.gz
ayatana-indicator-keyboard-a8d98f5d7aed169b87880caf0738998b348d698a.tar.bz2
ayatana-indicator-keyboard-a8d98f5d7aed169b87880caf0738998b348d698a.zip
* debian/control:
- Packaging review, add comment to developers. - Fix Vcs-Bzr, Vcs-Browser. - Sort Build-Depends, use trailing commas. - Improve long description. * debian/rules: - Add DPKG_GENSYMBOLS_CHECK_LEVEL = 4. - Override dh_autoreconf to run ./autogen.sh. - Override dh_install to remove .la and .a files. - Run dh_install with --fail-missing. * debian/compat: bump to compat level 9. * debian/source/format: make sure we're using format 1.0.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules16
1 files changed, 11 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules
index c816d1da..d2bfba7b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,19 @@
#!/usr/bin/make -f
# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+export DPKG_GENSYMBOLS_CHECK_LEVEL=4
+
%:
dh $@ --with autoreconf,translations
+
+override_dh_autoreconf:
+ NOCONFIGURE=1 dh_autoreconf ./autogen.sh
+
+override_dh_install:
+ find debian/indicator-keyboard/usr/lib -name *.la -delete
+ find debian/indicator-keyboard/usr/lib -name *.a -delete
+ dh_install --fail-missing
+