debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_TEST_ARGS=-k 'not (PylintTestCase or Flake8TestCase or BlackTestCase or IsortTestCase)' |
| 4 | |
| 5 | ifeq ($(PYBUILD_AUTOPKGTEST),1) |
| 6 | export PYBUILD_BEFORE_TEST=ln -s /usr/bin/ionit {build_dir}/ionit.py |
| 7 | else |
| 8 | export PYBUILD_BEFORE_TEST=ln -s {dir}/ionit {build_dir}/ionit.py |
| 9 | endif |
| 10 | export PYBUILD_AFTER_TEST=rm {build_dir}/ionit.py |
| 11 | |
| 12 | %: |
| 13 | dh $@ --buildsystem pybuild |
| 14 | |
| 15 | execute_after_dh_auto_build: |
| 16 | pandoc -s -t man ionit.1.md -o ionit.1 |