File: rules

package info (click to toggle)
fever 1.0.16-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 768 kB
  • sloc: sh: 33; makefile: 18
file content (30 lines) | stat: -rwxr-xr-x 616 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
22
23
24
25
26
27
28
29
30
#!/usr/bin/make -f

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

%:
	dh $@ --buildsystem=golang --max-parallel=1 --with=golang

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/fever' -exec {} makeman --dir debian/man \;

override_dh_dwz:
	# pass

override_dh_auto_test:
	# pass

override_dh_installsystemd:
	dh_installsystemd --no-enable

override_dh_auto_install:
	dh_auto_install -- --no-source