File: rules

package info (click to toggle)
gokey 0.0~git20190103.40eba7e+really0.0~git20181023.b4e2780-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 172 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