| 1 | #!/usr/bin/make -f |
| 2 | #export DH_VERBOSE = 1 |
| 3 | |
| 4 | export PYBUILD_NAME=podman-compose |
| 5 | |
| 6 | %: |
| 7 | dh $@ --with python3 --buildsystem=pybuild |
| 8 | |
| 9 | override_dh_auto_test: |
| 10 | # There are only integration tests which need internet connection. Skip. |
| 11 | |
| 12 | override_dh_installexamples: |
| 13 | # Installing the nodeproj example directory causes lintian to throw a few |
| 14 | # errors and warnings. Namely, package-contains-eslint-config-file due to |
| 15 | # examples/nodeproj/.eslintrc.json, privacy-breach-uses-embedded-file due to |
| 16 | # examples/nodeproj/public/index.html (here lintian suggests using |
| 17 | # libjs-normalize instead), and package-contains-vcs-control-file due to |
| 18 | # examples/nodeproj/.gitignore and examples/nodeproj/.home/.gitignore. While |
| 19 | # we could ignore the false positives and/or remove the offending files, |
| 20 | # let's just refrain from shipping this particular example and avoid |
| 21 | # depending (or recommending/suggesting) on libjs-normalize. |
| 22 | dh_installexamples -X nodeproj |
| 23 | |
| 24 | execute_before_dh_installdocs: |
| 25 | test ! -f docs/changelog |
| 26 | for CHANGELOG in $$(ls -r docs/Changelog-*); do \ |
| 27 | cat $$CHANGELOG >> docs/changelog; \ |
| 28 | echo >> docs/changelog; \ |
| 29 | done |
| 30 | rm docs/Changelog-*.md |