~ubuntu-branches/ubuntu/utopic/pyscrabble/utopic

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Magnus Holmgren
  • Date: 2011-04-25 21:58:25 UTC
  • Revision ID: james.westby@ubuntu.com-20110425215825-wk0w127t7mgjrbjy
Tags: 1.6.2-5
* Convert package to source format 3.0 (quilt), meaning renaming the
  patches and converting their headers as well as dropping
  README.source.
* Convert to using dh_python2 (Closes: #616983).
* Run setup.py with --install-layout=deb to get filesystem layout right.
* Bump Debhelper compat level to 7.
* pyscrabble-server.README.Debian: Clarify that pyscrabble-server is not
  intended to be run from the command line directly (Closes: #611833).
* hosts.patch: Improve the code for adding new entries to the Additional
  Hosts list:
  * Fix C&P bug that caused the Game port to be validated twice but the 
    Web port not at all.  
  * Pre-fill the default port numbers to help the user (Closes: #566666).
  * Don't destroy the dialog until the entered values have been extracted.
* Increase Standards-Version to 3.9.2 without changes needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
ICON_SIZES=16 22 32 48 64 96
14
14
PIXMAP_SIZES=16 32
15
15
 
16
 
include /usr/share/dpatch/dpatch.make
17
 
 
18
 
unpatch: clean-patched
19
 
clean: unpatch
20
 
        dh_clean
21
 
 
22
 
clean-patched: patch-stamp
 
16
clean:
23
17
        dh_testdir
24
18
        dh_testroot
25
19
        rm -f build-stamp
27
21
 
28
22
        python setup.py clean -a
29
23
        find -name '*.pyc' -delete
 
24
        dh_clean
30
25
 
31
26
build: build-stamp
32
 
build-stamp: patch-stamp
 
27
build-stamp:
33
28
        python setup.py build
34
29
 
35
30
        for size in $(ICON_SIZES); do \
43
38
install: build
44
39
        dh_testdir
45
40
        dh_testroot
46
 
        dh_clean -k 
 
41
        dh_prep
47
42
 
48
43
        python setup.py install --no-compile --root=$(DESTDIR) \
49
 
                --prefix=/usr \
 
44
                --install-layout=deb \
50
45
                --install-scripts=/usr/games \
51
46
                --confdir=/etc/pyscrabble \
52
47
                --logdir=/var/log/pyscrabble \
79
74
        dh_testroot
80
75
        dh_install --sourcedir=debian/tmp
81
76
        dh_link
82
 
        dh_pycentral
 
77
        dh_python2
83
78
        dh_installchangelogs CHANGELOG.txt
84
79
        dh_installdocs
85
80
        dh_installexamples