File: rules

package info (click to toggle)
ezdxf 0.18.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 46,952 kB
  • sloc: python: 158,141; javascript: 166; cpp: 138; makefile: 116; lisp: 20
file content (17 lines) | stat: -rwxr-xr-x 371 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

# export DH_VERBOSE = 1

export PYBUILD_NAME=ezdxf

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

override_dh_auto_build:
	dh_auto_build
	(cd docs ; make PYTHONPATH=../src SPHINXBUILD=sphinx-build html)
	(cd docs ; make PYTHONPATH=../src SPHINXBUILD=sphinx-build man)

override_dh_auto_clean:
	dh_auto_clean
	(cd docs ; make clean)