| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
# Uncomment this to turn on verbose mode. |
| 4 |
#export DH_VERBOSE=1 |
| 5 |
|
| 6 |
export PYBUILD_NAME=pymeasure |
| 7 |
export PYBUILD_TEST_ARGS=-k 'not (test_property_docstrings or test_locale_settings)' |
| 8 |
|
| 9 |
# test_locale_settings is broken on s390x: https://bugs.debian.org/1088101 |
| 10 |
|
| 11 |
%: |
| 12 |
dh $@ --buildsystem=pybuild |
| 13 |
|
| 14 |
execute_after_dh_auto_clean: |
| 15 |
$(MAKE) -C docs clean |
| 16 |
|
| 17 |
execute_after_dh_auto_build: export http_proxy=127.0.0.1:9 |
| 18 |
execute_after_dh_auto_build: export https_proxy=127.0.0.1:9 |
| 19 |
execute_after_dh_auto_build: |
| 20 |
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) |
| 21 |
PYTHONPATH=$(CURDIR) $(MAKE) -C docs html |
| 22 |
endif |