File: rules

package info (click to toggle)
python-apptools 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,464 kB
  • ctags: 3,513
  • sloc: python: 16,430; makefile: 83; sh: 5
file content (20 lines) | stat: -rwxr-xr-x 591 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

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
JQUERY				 = /usr/share/javascript/jquery/jquery.js

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

binary-post-install/mayavi2::
	find $(DEB_DESTDIR) -name 'jquery.js*' -delete

binary-predeb/python-apptools::
	dh_link $(JQUERY) /usr/share/pyshared/enthought/rst/sphinx_default/jquery.js

get-orig-source:
	-uscan --force-download --rename