| 1 |
|
| 2 |
|
| 3 |
D := $(CURDIR)/debian/tmp |
| 4 |
|
| 5 |
export PYBUILD_TEST_ARGS=--ignore tests/test_fixtures.py \ |
| 6 |
--ignore tests/test_flags.py \ |
| 7 |
--ignore tests/test_stepreporter.py \ |
| 8 |
--ignore tests/test_flashscript.py \ |
| 9 |
--ignore tests/test_util.py \ |
| 10 |
--ignore tests/test_docker.py |
| 11 |
export SETUPTOOLS_SCM_PRETEND_VERSION=$(DEB_VERSION_UPSTREAM) |
| 12 |
|
| 13 |
%: |
| 14 |
dh $@ --buildsystem=pybuild |
| 15 |
|
| 16 |
execute_after_dh_auto_install: |
| 17 |
mkdir -p $(D)/usr/share/man/man1 |
| 18 |
cp man/*.1 $(D)/usr/share/man/man1 |
| 19 |
mkdir -p $(D)/usr/share/man/man5 |
| 20 |
cp man/*.5 $(D)/usr/share/man/man5 |
| 21 |
mkdir -p $(D)/usr/share/man/man7 |
| 22 |
cp man/*.7 $(D)/usr/share/man/man7 |