~ubuntu-branches/ubuntu/lucid/myghtyutils/lucid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Oleksandr Moskalenko
  • Date: 2007-05-14 09:46:20 UTC
  • mfrom: (2.1.1 gutsy)
  • Revision ID: james.westby@ubuntu.com-20070514094620-vd389lgu0xaukmdv
Tags: 0.52-3
* Piotr Ożarowski <piotr@debian.org>:
  + New python-support handles egg's directory name correctly
    - bump python-support required version
    - remove mv part from debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# -*- makefile -*-
3
3
# Uncomment this to turn on verbose mode.
4
4
#export DH_VERBOSE=1
5
 
DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \
6
 
        | grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
7
5
package=python-myghtyutils
8
6
 
9
7
clean:
45
43
        dh_compress -X.py
46
44
        dh_fixperms
47
45
        dh_pysupport
48
 
        mv debian/$(package)/usr/share/python-support/$(package)/MyghtyUtils-${DEB_UPSTREAM_VERSION}-py[0-9].[0-9].egg-info \
49
 
        debian/$(package)/usr/share/python-support/$(package)/myghtyutils-${DEB_UPSTREAM_VERSION}.egg-info
50
46
        dh_installdeb
51
47
        dh_shlibdeps
52
48
        dh_gencontrol