File: rules

package info (click to toggle)
guidata 1.7.6-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid, stretch
  • size: 1,156 kB
  • ctags: 1,000
  • sloc: python: 5,023; makefile: 15
file content (22 lines) | stat: -rwxr-xr-x 551 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
#!/usr/bin/make -f

export PYBUILD_NAME=guidata

%:
	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild

override_dh_clean:
	rm -rf build/html
	dh_clean

override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc/ build/html # HTML generator

override_dh_install:
	dh_install
	dh_numpy
	dh_numpy3
	# install the .desktop files
	dh_install -p python-guidata debian/guidata-tests.desktop /usr/share/applications
	dh_install -p python3-guidata debian/guidata-tests3.desktop /usr/share/applications