1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
export PYBUILD_NAME = docxcompose
%:
dh $@ --buildsystem pybuild
override_dh_auto_test:
LC_TIME=C dh_auto_test -- --test-pytest
override_dh_installman: debian/docxcompose.1
execute_after_dh_auto_clean:
rm -rf docxcompose.egg-info
debian/docxcompose.1:
PYTHONPATH=$$(find debian -name dist-packages | xargs echo | tr ' ' :) help2man \
debian/python3-docxcompose/usr/bin/docxcompose \
--name 'compose multiple docx files into one file' \
--version-string $(DEB_VERSION_UPSTREAM) --no-info > $@
|