File: rules

package info (click to toggle)
golang-github-coredhcp-coredhcp 0.0.0%2Bgit.20250806.f7e98e4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 460 kB
  • sloc: makefile: 8; sh: 6
file content (12 lines) | stat: -rwxr-xr-x 378 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := cmds/coredhcp-generator

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

override_dh_install:
	mv $(CURDIR)/debian/tmp/usr/bin/client debian/tmp/usr/bin/coredhcp-client
	dh_install
	mkdir -p $(CURDIR)/debian/coredhcp-server/etc/coredhcp
	cp cmds/coredhcp/config.yml.example $(CURDIR)/debian/coredhcp-server/etc/coredhcp/config.yml