~ubuntu-branches/ubuntu/quantal/dulwich/quantal

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Jelmer Vernooij
  • Date: 2011-04-12 22:18:19 UTC
  • mfrom: (1.2.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20110412221819-xmoseax1zcc1r4u0
Tags: 0.7.1-1
* Add missing Breaks: field to python-dulwich.
* Switch to debhelper 7, drop cdbs.
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
3
 
include /usr/share/cdbs/1/rules/debhelper.mk
4
 
include /usr/share/cdbs/1/class/python-distutils.mk
5
 
 
6
 
DEB_PYTHON_BUILD_ARGS += --executable=/usr/bin/python
7
 
 
 
3
%:
 
4
        dh --buildsystem=python_distutils $*
 
5
 
 
6
override_dh_auto_test:
8
7
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
9
 
common-build-arch common-build-indep:: debian/stamp-check
10
 
debian/stamp-check: 
11
8
        $(MAKE) check TESTRUNNER=testtools.run
12
 
        touch $@
13
9
endif
14
 
 
15
 
clean::
16
 
        rm -f debian/stamp-check
17
 
        rm -f dulwich/*.so
18
 
        rm -rf *.egg-info