File: rules

package info (click to toggle)
golang-github-alecthomas-participle-v2 2.1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 920 kB
  • sloc: javascript: 1,164; sh: 41; makefile: 7
file content (13 lines) | stat: -rwxr-xr-x 398 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export DH_GOLANG_INSTALL_ALL := 1

%:
	dh $@ --builddirectory=_build --buildsystem=golang

override_dh_auto_install:
	dh_auto_install
	# Remove compiled helpers
	rm -rf debian/golang-github-alecthomas-participle-v2-dev/usr/bin
	# Remove extra license file
	rm -f debian/golang-github-alecthomas-participle-v2-dev/usr/share/gocode/src/github.com/alecthomas/participle/v2/COPYING