~ubuntu-branches/ubuntu/quantal/libdrumstick/quantal

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia, Adrian Knoth, Alessio Treglia
  • Date: 2012-02-05 21:13:53 UTC
  • Revision ID: package-import@ubuntu.com-20120205211353-suxnx7mam1kwp6dn
Tags: 0.5.0-3
[ Adrian Knoth ]
* Replace old binutils patch with new one:
  - The cmake maintainer suggested a different fix, so here's the new
    approach. For details, see #615742.

[ Alessio Treglia ]
* Build for Multi-Arch.
* Remove missing_libs.patch, superseded by Adrian's new patch.
* Refresh patches.
* Bump Standards.
* Rewrite debian/copyright to comply with DEP-5.
* Add override to avoid Lintian's package-name-doesnt-match-sonames
  warning.
* Include in libdrumstick-dbg only symbols coming from libdrumstick0;
  this avoids installing drumstick-tools when one needs the -DBG just
  to debug the libraries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
 
3
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
3
4
LDFLAGS+=-Wl,--as-needed
4
5
 
5
6
%:
6
7
        dh $@ -S cmake
7
8
 
 
9
override_dh_auto_configure:
 
10
        dh_auto_configure -- -DLIBDIR=lib/$(DEB_HOST_MULTIARCH)
 
11
 
8
12
override_dh_strip:
9
 
        dh_strip --dbg-package=libdrumstick-dbg
 
13
        dh_strip -plibdrumstick0 --dbg-package=libdrumstick-dbg
 
14
        dh_strip --remaining-packages