File: rules

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

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

%:
	dh $@ --builddirectory=_build --buildsystem=golang

execute_after_dh_auto_clean:
	rm -f gokey.1

execute_after_dh_auto_build:
	pandoc -s -t man gokey.1.md -o gokey.1

override_dh_auto_test:
	dh_auto_test -- -timeout 6h