File: rules

package info (click to toggle)
webhook 2.8.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 11,064 kB
  • sloc: asm: 1,650; sh: 620; xml: 88; makefile: 50; ansic: 24
file content (21 lines) | stat: -rwxr-xr-x 486 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_GOLANG_INSTALL_EXTRA := \
	test/hooks.json.tmpl \
	test/hooks.yaml.tmpl \
	hooks.json.example \
	hooks.json.tmpl.example \
	hooks.yaml.example \
	hooks.yaml.tmpl.example

export DH_GOLANG_EXCLUDES := test

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

override_dh_auto_install:
	dh_auto_install -- --no-source

override_dh_installinit:
	dh_installsystemd -pwebhook --no-start --name=webhook webhook.service
	dh_installinit -pwebhook --no-start --noscripts