| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
# Uncomment this to turn on verbose mode. |
| 4 |
#export DH_VERBOSE=1 |
| 5 |
|
| 6 |
export PYBUILD_NAME=pylibdmtx |
| 7 |
export PYBUILD_TEST_ARGS=--pyargs pylibdmtx.tests |
| 8 |
|
| 9 |
%: |
| 10 |
dh $@ --buildsystem=pybuild |
| 11 |
|
| 12 |
execute_after_dh_auto_install: |
| 13 |
$(RM) debian/python3-pylibdmtx/usr/bin/read_datamatrix.py |
| 14 |
$(RM) debian/python3-pylibdmtx/usr/bin/write_datamatrix.py |
| 15 |
|
| 16 |
execute_before_dh_installman: |
| 17 |
docbook-to-man debian/manpage.read_datamatrix.sgml > read_datamatrix.1 |
| 18 |
docbook-to-man debian/manpage.write_datamatrix.sgml > write_datamatrix.1 |