File: rules

package info (click to toggle)
golang-github-naoina-toml 0.1.1-4
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 404 kB
  • sloc: makefile: 7
file content (13 lines) | stat: -rwxr-xr-x 362 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f
# -*- makefile -*-

export DH_GOLANG_INSTALL_EXTRA := parse.peg testdata

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

override_dh_auto_configure:
	dh_auto_configure
	# generate our own parse.peg.go
	rm _build/src/github.com/naoina/toml/parse.peg.go
	peg-go -inline -switch _build/src/github.com/naoina/toml/parse.peg