File: rules

package info (click to toggle)
openslide-python 1.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,840 kB
  • sloc: javascript: 19,981; python: 2,418; ansic: 86; makefile: 18
file content (26 lines) | stat: -rwxr-xr-x 785 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/make -f
#export DH_VERBOSE=1

export PYBUILD_NAME=openslide
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --buildsystem=pybuild

execute_before_dh_auto_build:
	if [ -d openslide_python.egg-info ] \
	; then cp -a openslide_python.egg-info openslide_python.egg-info.orig \
	; fi

execute_before_dh_clean:
	if [ -d openslide_python.egg-info.orig ] \
	; then rm -r openslide_python.egg-info \
	       && mv openslide_python.egg-info.orig openslide_python.egg-info \
	; fi

override_dh_installexamples:
	dh_installexamples -ppython-openslide-examples -Xjquery.js examples/*
	dh_link -ppython-openslide-examples usr/share/javascript/jquery/jquery.js usr/share/doc/python-openslide-examples/examples/deepzoom/static/jquery.js

override_dh_compress:
	dh_compress -X.py