File: rules

package info (click to toggle)
owslib 0.14.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 9,052 kB
  • ctags: 1,428
  • sloc: xml: 118,882; python: 12,125; makefile: 165; sh: 11
file content (18 lines) | stat: -rwxr-xr-x 475 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
# -*- makefile -*-

export PYBUILD_NAME=owslib

LAST_CHANGE=$(shell dpkg-parsechangelog -S Date)
BUILD_DATE=$(shell LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)")
SPHINXOPTS   = -D today="$(BUILD_DATE)"
export PYBUILD_AFTER_BUILD_python2 = cd docs;make html

%:
	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