File: rules

package info (click to toggle)
bzrtools 0.11.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 508 kB
  • ctags: 560
  • sloc: python: 4,863; sh: 11; makefile: 8
file content (17 lines) | stat: -rwxr-xr-x 540 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
# This file is public domain.
  
DEB_PYTHON_SYSTEM=pysupport
PY_VERSIONS = $(shell pyversions -vr debian/control)

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk

#common-post-build-indep::
#	PYTHONPATH=. BZR_PLUGIN_PATH=build/lib/bzrlib/plugins/ bzr selftest bzrtools -v

binary-install/bzrtools::
	for VER in $(PY_VERSIONS); do \
		dh_link /usr/share/python-support/bzrtools/bzrlib/plugins/bzrtools /usr/lib/python$$VER/site-packages/bzrlib/plugins/bzrtools; \
	done