File: rules

package info (click to toggle)
debsigs 0.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 420 kB
  • sloc: python: 1,160; perl: 728; makefile: 12; sh: 9
file content (17 lines) | stat: -rwxr-xr-x 389 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

include /usr/share/dpkg/default.mk

%:
	dh $@ -D perl

execute_after_dh_auto_build:
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
	dh_auto_build -D perl -- signing-policy.txt
endif

execute_after_dh_auto_test:
	env PYTHONPATH="${CURDIR}/python/tests" \
		python3 -B -u \
		-m testsigs \
		--debsigs-program '${CURDIR}/debian/test-wrappers/debsigs'