File: rules

package info (click to toggle)
balboa 1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 552 kB
  • sloc: ansic: 657; python: 127; sh: 44; makefile: 14
file content (21 lines) | stat: -rwxr-xr-x 483 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

#export DH_VERBOSE = 1
export DH_GOPKG := github.com/DCSO/balboa
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DH_GOLANG_INSTALL_EXTRA := testdata

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

override_dh_auto_install:
	dh_auto_install -- --no-source

override_dh_auto_clean:
	dh_auto_clean
	rm -rf debian/man

override_dh_auto_build:
	dh_auto_build
	mkdir -p debian/man
	find . -executable -wholename '*bin/balboa' -exec {} makeman --dir debian/man \;