File: rules

package info (click to toggle)
gokey 0.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 160 kB
  • sloc: makefile: 15
file content (23 lines) | stat: -rwxr-xr-x 428 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

# Hardening
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@ --buildsystem=golang --with=golang

override_dh_auto_clean:
	dh_auto_clean
	rm -f gokey.1

override_dh_auto_build:
	dh_auto_build
	pandoc -s -t man gokey.1.md -o gokey.1

override_dh_auto_test:
	dh_auto_test -- -timeout 6h

override_dh_missing:
	dh_missing --fail-missing