| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
include /usr/share/dpkg/pkg-info.mk |
| 4 |
|
| 5 |
export PYBUILD_NAME=dials-data |
| 6 |
|
| 7 |
PY3V := $(shell py3versions --default) |
| 8 |
|
| 9 |
%: |
| 10 |
dh $@ --buildsystem=pybuild |
| 11 |
|
| 12 |
override_dh_installman: debian/dials.data.1 |
| 13 |
dh_installman |
| 14 |
|
| 15 |
execute_after_dh_auto_clean: |
| 16 |
rm -rf dials_data.egg-info |
| 17 |
|
| 18 |
debian/dials.data.1: |
| 19 |
PYTHONPATH=debian/python3-dials-data/usr/lib/${PY3V}/dist-packages \ |
| 20 |
help2man debian/python3-dials-data/usr/bin/dials.data \ |
| 21 |
--version-string $(DEB_VERSION_UPSTREAM) --name 'DIALS regression data manager' \ |
| 22 |
--no-info > $@ |