File: rules

package info (click to toggle)
python-ulmo 0.8.5%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,056 kB
  • sloc: python: 6,550; makefile: 144
file content (30 lines) | stat: -rwxr-xr-x 755 bytes parent folder | download | duplicates (2)
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
#!/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 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 -ppython3-ulmo

override_dh_missing:
	dh_missing --fail-missing