~ubuntu-branches/ubuntu/natty/udisks/natty-updates

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt, Michael Biebl, Martin Pitt
  • Date: 2010-12-02 14:25:46 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20101202142546-ktjm0fjf36bpxsdw
Tags: 1.0.2-1
[ Michael Biebl ]
* Move 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.
  - Add debian/udisks.docs.

[ Martin Pitt ]
* New upstream release.
* Drop 00git-fix-luks-forced-removal.patch, upstream now.
* Update 02-defer_smart_probing.patch for new upstream version.
* debian/control: Bump libpolkit dependencies, as per new upstream
  configure.
* 10-ide-cd-support.patch: Add explicit linking to libudev, as this patch
  introduces udev_* calls. Fixes linking with gcc 4.5.
* debian/rules: Use dpkg-vendor instead of lsb_release. Drop lsb-release
  build dependency.

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/autotools.mk
5
 
include /usr/share/cdbs/1/rules/utils.mk
6
 
 
7
 
DEB_DH_MAKESHLIBS_ARGS_ALL := -Xusr/lib/polkit-1/
8
 
DEB_CONFIGURE_EXTRA_FLAGS := --enable-gtk-doc \
9
 
                             --disable-remote-access \
10
 
                             --disable-dmmp \
11
 
                             --disable-lvm2
12
 
 
13
 
common-post-build-arch::
 
3
%:
 
4
        dh $@
 
5
 
 
6
override_dh_auto_configure:
 
7
        dh_auto_configure -- \
 
8
                --enable-gtk-doc \
 
9
                --disable-remote-access \
 
10
                --disable-dmmp \
 
11
                --disable-lvm2
 
12
 
 
13
override_dh_auto_build:
 
14
        dh_auto_build
14
15
        make -C po udisks.pot
15
16
 
16
 
binary-install/udisks::
 
17
override_dh_auto_test:
 
18
        # don't run test suite on buildds
 
19
 
 
20
override_dh_makeshlibs:
 
21
        dh_makeshlibs -Xusr/lib/polkit-1/
 
22
 
 
23
override_dh_auto_install:
 
24
        dh_auto_install
17
25
        # install Apport hook on Ubuntu
18
 
        if [ "`lsb_release -is 2>/dev/null`" = "Ubuntu" ]; then \
 
26
        if dpkg-vendor --is ubuntu; then \
19
27
            install -m 644 -D debian/local/apport-hook.py debian/udisks/usr/share/apport/package-hooks/udisks.py; \
20
28
        fi
21
 
 
22
29
        # don't install udisks-dm-export, we no longer need it
23
30
        #rm -f debian/udisks/lib/udev/udisks-dm-export