File: rules

package info (click to toggle)
guidata 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,816 kB
  • sloc: python: 13,945; makefile: 11
file content (18 lines) | stat: -rwxr-xr-x 478 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export PYBUILD_NAME=guidata

%:
	dh $@ --buildsystem=pybuild

execute_before_dh_clean:
	rm -rf build/html

execute_after_dh_auto_build: export PYTHONPATH=$(CURDIR)
execute_after_dh_auto_build: export http_proxy='127.0.0.1:9'
execute_after_dh_auto_build:
	sphinx-build -N -bhtml doc/ build/html # HTML generator

execute_after_dh_auto_install:
	# install the .desktop files
	dh_install -p python3-guidata debian/guidata-tests3.desktop /usr/share/applications