| 1 | #!/usr/bin/make -f |
| 2 | # See debhelper(7) (uncomment to enable) |
| 3 | # output every command that modifies files on the build system. |
| 4 | #export DH_VERBOSE = 1 |
| 5 | |
| 6 | # see FEATURE AREAS in dpkg-buildflags(1) |
| 7 | #export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 8 | |
| 9 | # see ENVIRONMENT in dpkg-buildflags(1) |
| 10 | # package maintainers to append CFLAGS |
| 11 | #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic |
| 12 | # package maintainers to append LDFLAGS |
| 13 | #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed |
| 14 | |
| 15 | override_dh_auto_test: |
| 16 | dh_auto_test -- --system=custom --test-args='cd test/unit && pytest-3' |
| 17 | |
| 18 | override_dh_auto_build: |
| 19 | dh_auto_build |
| 20 | make -C doc man |
| 21 | |
| 22 | override_dh_auto_install: |
| 23 | make buildroot=$(CURDIR)/debian/tmp/ install install_dracut |
| 24 | dh_auto_install |
| 25 | rm -f debian/tmp/usr/bin/kiwicompat |
| 26 | |
| 27 | %: |
| 28 | dh $@ --with python3,sphinxdoc --buildsystem=pybuild |