File: rules

package info (click to toggle)
kas 2.3.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 540 kB
  • sloc: python: 2,028; sh: 395; makefile: 200
file content (14 lines) | stat: -rwxr-xr-x 374 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
export PYBUILD_NAME=kas
export PYBUILD_TEST_ARGS=-ktest_includehandler

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

override_dh_auto_build:
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
	$(MAKE) -C docs man
	# Fix missing spaces in lines beginning with .B
	sed -i "s/^\.B\(\S\)/\.B \1/" docs/_build/man/kas.1
endif
	dh_auto_build