~ubuntu-branches/ubuntu/utopic/bittornado/utopic

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Cameron Dale
  • Date: 2008-07-19 16:08:44 UTC
  • mfrom: (0.1.14 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080719160844-nnmp02ar9pri55v1
Tags: 0.3.18-7
* Refresh all the quilt patches (Closes: #485320)
* Update standards version to 3.8.0
  - Add a README.source file pointing to the quilt documentation
* medium urgency to get it into lenny

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
# Uncomment this to turn on verbose mode.
6
6
#export DH_VERBOSE=1
7
7
 
8
 
# This is the debhelper compatibility version to use.
9
 
export DH_COMPAT=4
10
 
 
11
8
PYTHON_VERSION=$(shell /usr/bin/python -V 2>&1 | /usr/bin/perl -le 'print "$$1.$$2" if <> =~m/^Python\s+(\d+)\.(\d+)(\.\d+)*/')
12
9
 
13
 
 
14
 
include /usr/share/dpatch/dpatch.make
15
 
 
16
 
build-stamp: bittorrent-downloader.bittornado.1 bittorrent-multi-downloader.bittornado.1 btcompletedir.bittornado.1 btcompletedirgui.bittornado.1 btcopyannounce.1 btdownloadcurses.bittornado.1 btdownloadgui.bittornado.1 btdownloadheadless.bittornado.1 btlaunchmany.bittornado.1 btlaunchmanycurses.bittornado.1 btmakemetafile.bittornado.1 btmaketorrentgui.1 btreannounce.bittornado.1 btrename.bittornado.1 btsethttpseeds.1 btshowmetainfo.bittornado.1 bttrack.bittornado.1
 
10
include /usr/share/quilt/quilt.make
 
11
 
 
12
build-stamp: $(QUILT_STAMPFN) bittorrent-downloader.bittornado.1 bittorrent-multi-downloader.bittornado.1 btcompletedir.bittornado.1 btcompletedirgui.bittornado.1 btcopyannounce.1 btdownloadcurses.bittornado.1 btdownloadgui.bittornado.1 btdownloadheadless.bittornado.1 btlaunchmany.bittornado.1 btlaunchmanycurses.bittornado.1 btmakemetafile.bittornado.1 btmaketorrentgui.1 btreannounce.bittornado.1 btrename.bittornado.1 btsethttpseeds.1 btshowmetainfo.bittornado.1 bttrack.bittornado.1
17
13
        dh_testdir
18
14
        touch build-stamp
19
15
 
28
24
        rm -f build-stamp
29
25
        dh_clean
30
26
 
31
 
install: patch build-stamp
 
27
install: build-stamp
32
28
 
33
29
 
34
30
        dh_testdir
56
52
          rm -f *.pyc )
57
53
 
58
54
# Build architecture-independent files here.
59
 
binary-arch: build install
60
 
        
61
 
 
62
 
# Build architecture-dependent files here.
63
55
binary-indep: build install
64
56
        dh_testdir
65
57
        dh_testroot
77
69
                   btlaunchmany btcompletedir btcompletedirgui \
78
70
                   btdownloadcurses btlaunchmanycurses btreannounce btrename \
79
71
                   btshowmetainfo; \
80
 
          do mv $$i.py $$i.bittornado; done )
 
72
          do mv $$i.py $$i.bittornado || exit 1 ; done )
81
73
        
82
74
        # Remove the .py from the end of each of these, the following are not
83
75
        # included in bittorrent, so they are not renamed to having the
84
76
        # suffix of .bittornado
85
77
        ( cd debian/tmp/usr/bin && \
86
78
          for i in btcopyannounce btsethttpseeds btmaketorrentgui; \
87
 
          do mv $$i.py $$i; done )
 
79
          do mv $$i.py $$i || exit 1; done )
88
80
 
89
81
        dh_installchangelogs 
90
82
        dh_install --sourcedir=debian/tmp