~ubuntu-branches/ubuntu/vivid/python-biggles/vivid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Matej Vela
  • Date: 2006-08-14 09:13:31 UTC
  • mfrom: (2.1.4 edgy)
  • Revision ID: james.westby@ubuntu.com-20060814091331-y0zjwo1pt33plzxa
Tags: 1.6.4-3
* QA upload.
* Remove `dummy package' from long description.  Closes: #381829.
* debian/README.Debian: Update for unversioned package names.
* debian/copyright: Remove leftover reference to python-adns.
* debian/watch: Add.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
# Uncomment this to turn on verbose mode. 
10
10
#export DH_VERBOSE=1
11
11
 
12
 
# This is the debhelper compatibility version to use.
13
 
export DH_COMPAT=3
14
 
 
 
12
PYVERS := $(shell pyversions -r)
15
13
 
16
14
 
17
15
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
24
22
build: build-stamp
25
23
build-stamp:
26
24
        dh_testdir
27
 
 
28
 
        /usr/bin/python2.2 setup.py build --build-lib build2.2
29
 
        /usr/bin/python2.3 setup.py build --build-lib build2.3
 
25
        set -e; \
 
26
        for py in $(PYVERS); do \
 
27
            $$py setup.py build; done
30
28
 
31
29
        touch build-stamp
32
30
 
35
33
        dh_testroot
36
34
        rm -f build-arch-stamp build-indep-stamp configure-stamp
37
35
 
 
36
        -for py in $(PYVERS); do \
 
37
            $$py setup.py clean --all; done
38
38
        # Add here commands to clean up after the build process.
39
 
        /usr/bin/python2.2 setup.py clean --all --build-lib build2.2
40
 
        /usr/bin/python2.3 setup.py clean --all --build-lib build2.3
 
39
        #--build-lib build2.3
41
40
        -rm -fr build
42
41
 
43
42
        dh_clean
50
49
        dh_installdirs
51
50
 
52
51
        # Add here commands to install the package into debian/python-biggles.
53
 
        /usr/bin/python2.2 setup.py install --prefix=`pwd`/debian/python2.2-biggles/usr --no-compile
54
 
        /usr/bin/python2.3 setup.py install --prefix=`pwd`/debian/python2.3-biggles/usr --no-compile
55
 
 
56
 
#       dh_movefiles
 
52
        set -e; \
 
53
        for py in $(PYVERS); do \
 
54
            $$py setup.py install --root=debian/python-biggles --no-compile; \
 
55
        done
57
56
 
58
57
# Build architecture-dependent files here.
59
58
binary-arch: build install
66
65
        dh_link -a
67
66
        dh_compress -a
68
67
        dh_fixperms -a
 
68
        dh_pysupport -a
69
69
        dh_python -a
70
70
        dh_installdeb -a
71
71
        dh_shlibdeps -a
75
75
 
76
76
# Build architecture-independent files here.
77
77
binary-indep: build install
78
 
        dh_testdir -i
79
 
        dh_testroot -i
80
 
        dh_installdocs -i -A
81
 
        dh_installchangelogs -i ChangeLog
82
 
        dh_link -i
83
 
        dh_compress -i
84
 
        dh_fixperms -i
85
 
        dh_python -i
86
 
        dh_installdeb -i
87
 
        dh_shlibdeps -i
88
 
        dh_gencontrol -i
89
 
        dh_md5sums -i
90
 
        dh_builddeb -i
 
78
# nothing to do
91
79
 
92
80
binary: binary-arch binary-indep
93
81
.PHONY: clean binary binary-arch binary-indep install build