~bzr/ubuntu/jaunty/bzrtools/beta-ppa

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Max Bowsher
  • Date: 2011-05-15 07:35:36 UTC
  • mfrom: (18.3.6 lucid)
  • mto: This revision was merged to the branch mainline in revision 37.
  • Revision ID: maxb@f2s.com-20110515073536-6r2ii53bj4vqroog
Tags: 2.4.0~bzr767-2~bazaar1~karmic1
MergeĀ 2.4.0~bzr767-2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
 
# This file is public domain.
3
 
 
4
 
DEB_PYTHON_SYSTEM=pycentral
5
 
 
6
 
include /usr/share/cdbs/1/rules/debhelper.mk
7
 
include /usr/share/cdbs/1/class/python-distutils.mk
8
 
 
9
 
DEB_INSTALL_DOCS_ALL += CREDITS NEWS.Shelf README.Shelf TODO.Shelf
 
2
 
 
3
%:
 
4
        dh --with python2 --buildsystem=python_distutils $*
 
5
 
 
6
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 
7
CONCURRENCY = BZR_CONCURRENCY=$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 
8
endif
10
9
 
11
10
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
12
 
common-post-build-indep::
13
 
        BZR_PLUGINS_AT=bzrtools@$(CURDIR) /usr/bin/bzr selftest -s bp.bzrtools
 
11
override_dh_auto_test:
 
12
        $(CONCURRENCY) BZR_PLUGINS_AT=bzrtools@$(CURDIR) /usr/bin/bzr selftest \
 
13
            --parallel=fork -v -s bp.bzrtools
14
14
endif