~ubuntu-branches/ubuntu/vivid/gpodder/vivid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): tony mancill
  • Date: 2014-05-27 21:50:33 UTC
  • mfrom: (5.2.32 sid)
  • Revision ID: package-import@ubuntu.com-20140527215033-epab36wpx5ovyy0t
Tags: 3.7.0-2
* Convert from python-support to dh-python.
* Bump debhelper dependency to DH9.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
PACKAGE   = $(firstword $(shell dh_listpackages))
4
4
TMP       = $(CURDIR)/debian/$(PACKAGE)
5
 
CHANGELOG       = ChangeLog
6
 
DOCS              = README
7
 
PYTHON          = /usr/bin/python
8
 
SETUP             = ${PYTHON} setup.py
9
 
DESTDIR         = debian/${PACKAGE}
10
 
PREFIX          = usr
 
5
CHANGELOG = ChangeLog
 
6
DOCS      = README
 
7
PYTHON    = /usr/bin/python
 
8
SETUP     = ${PYTHON} setup.py
 
9
DESTDIR   = debian/${PACKAGE}
 
10
PREFIX    = usr
11
11
 
12
12
%:
13
 
        dh $@
 
13
        dh $@ --with python2
14
14
 
15
15
override_dh_auto_test:
16
16
 
30
30
        dh_installdirs
31
31
        make messages
32
32
        PREFIX=$(PREFIX) make share/dbus-1/services/org.gpodder.service
33
 
        ${SETUP} install --no-compile --root='$(DESTDIR)' --prefix=$(PREFIX) --install-lib=$(PREFIX)/share/python-support/$(PACKAGE)
 
33
        ${SETUP} install --no-compile --root='$(DESTDIR)' --prefix=$(PREFIX) --install-lib=$(PREFIX)/share/pyshared
34
34
 
35
35
get-orig-source:
36
36
        uscan --force-download --rename