File: rules

package info (click to toggle)
ezdxf 0.14.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 24,920 kB
  • sloc: python: 75,150; javascript: 166; makefile: 115
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)