diff options
author | Michael Biebl <biebl@debian.org> | 2011-08-07 01:47:27 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-02-05 08:38:27 +0100 |
commit | 95e75c9fd39d5c16c79add762ca578e0360509d6 (patch) | |
tree | 2f09dec06f41503d32a3deade89123ba3ce267c2 /debian/rules | |
parent | 59ed3390b9a798ff8bf9133cbc28c4539ad99f42 (diff) | |
parent | a09050a7f63a262bf90dcb1c7a41f9cfd205db43 (diff) |
Imported Debian patch 0.5-1debian/0.5-1
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/debian/rules b/debian/rules index d61f645..e906b96 100755 --- a/debian/rules +++ b/debian/rules @@ -9,13 +9,16 @@ DH_ALWAYS_EXCLUDE=.svn:.git:.bzr %: dh $@ --with autoreconf +autoreconf: + intltoolize -f + autoreconf -f -i + override_dh_autoreconf: - intltoolize --force - dh_autoreconf + dh_autoreconf debian/rules -- autoreconf -override_dh_autoreconf_clean: - dh_autoreconf_clean - rm -f intltool-*.in po/Makefile.in.in m4/intltool.m4 || true +override_dh_auto_clean: + rm -f $(CURDIR)/debian/modemmanager.upstart + dh_auto_clean override_dh_auto_configure: dh_auto_configure -- \ @@ -24,9 +27,15 @@ override_dh_auto_configure: override_dh_makeshlibs: dh_makeshlibs -X/usr/lib/ModemManager/ -X/usr/lib/pppd/ +override_dh_strip: + dh_strip --dbg-package=modemmanager-dbg + override_dh_install: - find $(CURDIR)/debian/modemmanager/ -name \*.a | xargs rm - find $(CURDIR)/debian/modemmanager/ -name \*.la | xargs rm + if dpkg-vendor --is ubuntu; then \ + cp $(CURDIR)/debian/ubuntu/modemmanager.upstart $(CURDIR)/debian; \ + fi + find $(CURDIR)/debian/tmp/ -name \*.a -exec rm {} \; + find $(CURDIR)/debian/tmp/ -name \*.la -exec rm {} \; dh_install override_dh_installdocs: |