File: rules

package info (click to toggle)
golang-github-weppos-publicsuffix-go 0.30.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 484 kB
  • sloc: makefile: 16; sh: 9
file content (11 lines) | stat: -rwxr-xr-x 363 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := cmd/
export DH_GOLANG_INSTALL_EXTRA := fixtures/list-simple.txt fixtures/tests.txt

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

execute_after_dh_auto_configure:
	sed -i -e 's#go-github/v[0-9]\+/github#go-github/github#' \
	    _build/src/github.com/weppos/publicsuffix-go/publicsuffix/generator/gen.go