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 32 33 34 35 36 37 38 39 40 41
|
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# Enable hardening build flags
export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
export PYBUILD_NAME=pyresample
%:
dh $@ --parallel --with python2,python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_build:
dh_auto_build --buildsystem=pybuild
ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
env PYTHONPATH=$(CURDIR) $(MAKE) -C docs html
endif
override_dh_auto_clean:
dh_auto_clean --buildsystem=pybuild
$(MAKE) -C docs clean
$(RM) -r build
override_dh_installchangelogs:
dh_installchangelogs README.md
override_dh_python2:
dh_python2 -ppython-pyresample
dh_numpy -ppython-pyresample
override_dh_python3:
dh_python3 -ppython3-pyresample
dh_numpy3 -ppython3-pyresample
|