File: rules

package info (click to toggle)
golang-github-fluent-fluent-logger-golang 1.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 180 kB
  • sloc: makefile: 6
file content (11 lines) | stat: -rwxr-xr-x 343 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f

export DH_GOLANG_GO_GENERATE := 1

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

override_dh_auto_install:
	dh_auto_install
	# dh-golang tries to install examples - clean up after it
	rm -r $(CURDIR)/debian/golang-github-fluent-fluent-logger-golang-dev/usr/share/gocode/src/github.com/fluent/fluent-logger-golang/_examples