File: rules

package info (click to toggle)
kas 4.8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,228 kB
  • sloc: python: 5,533; sh: 1,042; makefile: 210
file content (17 lines) | stat: -rwxr-xr-x 475 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
export PYBUILD_NAME=kas
export PYBUILD_TEST_ARGS=-m "not online" -k "not test_menu" -v

%:
	dh $@ --with python3 --buildsystem=pybuild --with bash-completion

override_dh_auto_build:
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
	$(MAKE) -C docs man
endif
	dh_auto_build

override_dh_bash-completion:
	shtab --shell=bash -u kas.kas.kas_get_argparser --error-unimportable --prog kas \
		> debian/kas.bash-completion
	dh_bash-completion