File: rules

package info (click to toggle)
owslib 0.17.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 10,892 kB
  • sloc: xml: 136,921; python: 17,655; makefile: 165; sh: 11
file content (19 lines) | stat: -rwxr-xr-x 470 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
# -*- makefile -*-

export PYBUILD_NAME=owslib
export PYBUILD_AFTER_BUILD_python3 = cd docs;make html

include /usr/share/dpkg/pkg-info.mk

BUILD_DATE = $(shell LC_ALL=C date -u "+%B %d, %Y" -d "@$(SOURCE_DATE_EPOCH)")
SPHINXOPTS = -D today="$(BUILD_DATE)"

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

override_dh_auto_test:
#skipping tests as they require internet access

override_dh_auto_clean:
	rm -rf docs/build