File: rules

package info (click to toggle)
owslib 0.23.0-1%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 11,176 kB
  • sloc: xml: 137,886; python: 20,041; makefile: 167; sh: 11
file content (23 lines) | stat: -rwxr-xr-x 459 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
#!/usr/bin/make -f
# -*- makefile -*-

export PYBUILD_NAME=owslib

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 python3,sphinxdoc --buildsystem pybuild

override_dh_auto_clean:
	rm -rf docs/build

override_dh_auto_build:
	dh_auto_build

	cd docs && make html

override_dh_auto_test:
#skipping tests as they require internet access