File: rules

package info (click to toggle)
golang-github-tdewolff-minify 2.24.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,412 kB
  • sloc: javascript: 394,644; xml: 25,649; ansic: 253; makefile: 111; python: 109; sh: 74
file content (12 lines) | stat: -rwxr-xr-x 288 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := benchmarks bindings

include /usr/share/dpkg/pkg-info.mk

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

override_dh_auto_build:
	dh_auto_build -- -ldflags "-X 'main.Version=v$(DEB_VERSION_UPSTREAM)'"
	_build/bin/minify --version