~ubuntu-branches/ubuntu/vivid/debtags/vivid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Enrico Zini, Michael Vogt, Enrico Zini
  • Date: 2013-10-25 12:41:25 UTC
  • Revision ID: package-import@ubuntu.com-20131025124125-ytl4xarlmdyiuzjb
Tags: 1.12
[ Michael Vogt ]
* Install files in python3-debtagshw

[ Enrico Zini ]
* Build with new wibble

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
 
3
PYTHON3:=$(shell py3versions -r)
 
4
py3sdo=set -e; $(foreach py, $(PYTHON3), $(py) $(1);)
 
5
 
3
6
%:
4
 
        dh $@ --with=python2,autoreconf
 
7
        dh $@ --with=python2,python3,autoreconf
5
8
 
6
9
override_dh_auto_clean:
7
10
        dh_auto_clean --buildsystem=autoconf
14
17
override_dh_auto_build:
15
18
        dh_auto_build --buildsystem=autoconf
16
19
        dh_auto_build --buildsystem=python_distutils
 
20
        $(call py3sdo, setup.py build)
17
21
 
18
22
override_dh_auto_install:
19
23
        dh_auto_install --buildsystem=autoconf
20
24
        dh_auto_install --buildsystem=python_distutils
 
25
        $(call py3sdo, setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb)
21
26
 
22
27
override_dh_fixperms:
23
28
        dh_fixperms
24
29
        test -e /usr/bin/dh_buildinfo && dh_buildinfo
25
30
 
 
31
# Custom rules used only during development
 
32
 
 
33
debsrc:
 
34
        debian/vercheck
 
35
        git-buildpackage -S -us -uc
 
36
        rm -f ../$(RELEASE_PACKAGE)_$(VERSION)_source.changes
 
37