File: rules

package info (click to toggle)
ionit 0.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 284 kB
  • sloc: python: 767; makefile: 11; sh: 11
file content (16 lines) | stat: -rwxr-xr-x 455 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export PYBUILD_TEST_ARGS=-k 'not (PylintTestCase or Flake8TestCase or BlackTestCase or IsortTestCase)'

ifeq ($(PYBUILD_AUTOPKGTEST),1)
export PYBUILD_BEFORE_TEST=ln -s /usr/bin/ionit {build_dir}/ionit.py
else
export PYBUILD_BEFORE_TEST=ln -s {dir}/ionit {build_dir}/ionit.py
endif
export PYBUILD_AFTER_TEST=rm {build_dir}/ionit.py

%:
	dh $@ --buildsystem pybuild

execute_after_dh_auto_build:
	pandoc -s -t man ionit.1.md -o ionit.1