Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 DOPACKAGES := $(shell dh_listpackages)
4
5 export HDF5PLUGIN_STRIP=all
6
7 %:
8 dh $@ --buildsystem=pybuild
9
10 override_dh_auto_test:
11 ifeq ($(filter nocheck,$(DEB_BUILD_PROFILES)),)
12 dh_auto_test -- -s custom --test-args="env PYTHONPATH={build_dir} {interpreter} -m hdf5plugin.test"
13 dh_auto_test -- -s custom --test-args="env PYTHONPATH={build_dir} {interpreter} test/test.py"
14 endif
15
16 # Build documentation
17 ifneq (,$(filter python3-hdf5plugin-doc,$(DOPACKAGES)))
18
19 execute_after_dh_auto_build:
20 PYTHONPATH=`pwd`/build/lib make -C doc html
21
22 endif