File: rules

package info (click to toggle)
repo 2.58-4
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid
  • size: 1,732 kB
  • sloc: python: 21,066; sh: 99; makefile: 13
file content (18 lines) | stat: -rwxr-xr-x 449 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

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

override_dh_auto_build:
	release/update-manpages
	dh_auto_build

override_dh_auto_test:
ifneq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
	HOME=$(CURDIR) git config --global user.name TestUser
	HOME=$(CURDIR) git config --global user.email '<>'
	HOME=$(CURDIR) git config -l
	HOME=$(CURDIR) ./run_tests -v
endif