~ubuntu-branches/debian/experimental/network-manager-openvpn/experimental

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2010-12-22 04:38:53 UTC
  • Revision ID: james.westby@ubuntu.com-20101222043853-s18kqm62zu6h9b6s
Tags: 0.8.2-2
* Switch from cdbs to dh
  - Drop Build-Depends on cdbs.
  - Bump Build-Depends on debhelper to (>= 7.0.50~) for override targets.
  - Convert debian/rules to use dh.
  - Rename debian/docs to debian/network-manager-openvpn.docs so it is
    correctly picked up by dh_installdocs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
3
 
include /usr/share/cdbs/1/rules/debhelper.mk
4
 
include /usr/share/cdbs/1/class/gnome.mk
5
 
 
6
 
DEB_CONFIGURE_LIBEXECDIR := "\$$(prefix)/lib/NetworkManager"
7
 
 
8
 
DEB_CONFIGURE_EXTRA_FLAGS := --disable-static
9
 
 
10
 
DEB_DH_MAKESHLIBS_ARGS_ALL := -X/usr/lib/NetworkManager/
11
 
 
12
 
DEB_DH_INSTALL_SOURCEDIR := debian/tmp
13
 
 
 
3
%:
 
4
        dh $@
 
5
 
 
6
override_dh_auto_configure:
 
7
        dh_auto_configure -- \
 
8
                --libexecdir=/usr/lib/NetworkManager \
 
9
                --disable-static
 
10
 
 
11
override_dh_makeshlibs:
 
12
        dh_makeshlibs -X/usr/lib/NetworkManager/