~javier.collado/utah/bug1152216

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Javier Collado
  • Date: 2013-04-11 16:15:50 UTC
  • Revision ID: javier.collado@canonical.com-20130411161550-hphiex41u5s5gt1p
Added revision number to utah.__version__ to match launchpad recipe

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
        make
16
16
        set -e && for pyvers in $(PYVERS); do python$$pyvers setup.py build; done
17
17
        # Set __version__ in utah package to version number in debian/changelog
18
 
        sed -i "s/^__version__ = 'dev'/__version__ = '$(shell dpkg-parsechangelog | gawk '/^Version:/ {print $$2}')'/" utah/__init__.py
 
18
        sed -i "s/^__version__ = 'dev'/__version__ = '$(shell dpkg-parsechangelog | gawk '/^Version:/ {print $$2}')-r$(shell bzr revno)'/" utah/__init__.py
19
19
        dh_auto_build
20
20
 
21
21
override_dh_auto_install: