| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export PYBUILD_NAME=a38 |
| 4 |
|
| 5 |
include /usr/share/dpkg/pkg-info.mk |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ --buildsystem=pybuild |
| 9 |
|
| 10 |
override_dh_auto_install: debian/a38tool.1 |
| 11 |
dh_auto_install |
| 12 |
|
| 13 |
override_dh_auto_test: |
| 14 |
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 15 |
set -ex; for py in `py3versions --supported 2>/dev/null`; do \ |
| 16 |
$${py} -m nose2 ; \ |
| 17 |
done |
| 18 |
endif |
| 19 |
|
| 20 |
debian/a38tool.1: |
| 21 |
help2man \ |
| 22 |
-n 'Handle fattura elettronica files' \ |
| 23 |
--output=debian/a38tool.1 \ |
| 24 |
--no-info --no-discard-stderr \ |
| 25 |
--version-string=$(DEB_VERSION) \ |
| 26 |
--include debian/a38tool.man.include \ |
| 27 |
./a38tool |