File: rules

package info (click to toggle)
cyclonedx-python-lib 9.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,112 kB
  • sloc: xml: 14,752; python: 11,463; makefile: 21; sh: 16
file content (19 lines) | stat: -rwxr-xr-x 579 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

#export DH_VERBOSE = 1

export PYBUILD_NAME=cyclonedx-lib
export PYBUILD_DESTDIR = $(CURDIR)/debian/tmp/python3-$(PYBUILD_NAME)

%:
	dh $@ --buildsystem=pybuild --with sphinxdoc

override_dh_auto_install:
	pybuild --install --dest-dir $(CURDIR)/debian/tmp/
	mv $(CURDIR)/debian/tmp/python3-$(PYBUILD_NAME)/* $(CURDIR)/debian/tmp/

execute_after_dh_auto_build-indep: export http_proxy=127.0.0.1:9
execute_after_dh_auto_build-indep: export https_proxy=127.0.0.1:9
execute_after_dh_auto_build-indep:
	PYTHONPATH=. python3 -m sphinx -N -bhtml \
	docs/ build/html