File: rules

package info (click to toggle)
pycoast 1.3.2+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 142,856 kB
  • sloc: python: 3,255; makefile: 118
file content (29 lines) | stat: -rwxr-xr-x 517 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
23
24
25
26
27
28
29
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1


export PYBUILD_NAME=pycoast
#export PYBUILD_TEST_ARGS=test


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


override_dh_auto_build:
	dh_auto_build --buildsystem=pybuild
	$(MAKE) -C docs html
	$(RM) -r docs/build/html/_images


override_dh_auto_clean:
	dh_auto_clean --buildsystem=pybuild
	$(MAKE) -C docs clean


override_dh_python3:
	dh_python3 -N python-pycoast-doc
	dh_numpy3 -N python-pycoast-doc