File: rules

package info (click to toggle)
python-traitsbackendwx 3.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,208 kB
  • ctags: 3,003
  • sloc: python: 19,152; makefile: 12; sh: 5
file content (19 lines) | stat: -rwxr-xr-x 549 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

DEB_PYTHON_SYSTEM=pycentral

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

DEB_COMPRESS_EXCLUDE		:= .py
DEB_PYTHON_INSTALL_ARGS_ALL 	+= --single-version-externally-managed
PYSHARED			 = $(DEB_DESTDIR)`pycentral pycentraldir python-traitsbackendwx`

install/python-traitsbackendwx::
	find $(DEB_DESTDIR) -name 'image_LICENSE.txt' -delete

binary-predeb/python-traitsbackendwx::
	find $(PYSHARED) -type f | xargs chmod 644

get-orig-source:
	-uscan --upstream-version 0 --rename