File: rules

package info (click to toggle)
python-ulmo 0.8.4%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,100 kB
  • sloc: python: 6,752; makefile: 145
file content (31 lines) | stat: -rwxr-xr-x 828 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
30
31
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-

export PY3VER=$(shell py3versions -vd)
export HOME := $(CURDIR)/debian/HOME

export PYBUILD_NAME=ulmo
# Testing relies heavily on web access
export PYBUILD_DISABLE=test

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

override_dh_auto_clean:
	dh_auto_clean
	$(MAKE) -C docs clean

override_dh_auto_build: export http_proxy=127.0.0.1:9
override_dh_auto_build: export https_proxy=127.0.0.1:9
override_dh_auto_build:
	mkdir -p $(HOME)
	dh_auto_build
	$(MAKE) -C docs clean html

override_dh_installdocs:
	dh_installdocs --doc-main-package=python-ulmo-doc -ppython-ulmo-doc
	dh_installdocs --doc-main-package=python-ulmo-doc -ppython-ulmo
	dh_installdocs --doc-main-package=python-ulmo-doc -ppython3-ulmo

override_dh_missing:
	dh_missing --fail-missing