File: rules

package info (click to toggle)
golang-github-pointlander-peg 1.0.0-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 376 kB
  • sloc: makefile: 44
file content (12 lines) | stat: -rwxr-xr-x 263 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 := bootstrap grammars

PKG = github.com/pointlander/peg

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

override_dh_auto_configure:
	dh_auto_configure
	cp -v $(CURDIR)/peg.peg _build/src/$(PKG)