File: rules

package info (click to toggle)
golang-github-inconshreveable-go-update 0.0~git20160112.0.8152e7e%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 112 kB
  • sloc: makefile: 7
file content (11 lines) | stat: -rwxr-xr-x 303 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f

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

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

gen-orig-source:
	git archive --prefix=$(DEB_SOURCE)-$(DEB_VERSION_UPSTREAM)/    \
		upstream/$(subst ~,_,$(DEB_VERSION_UPSTREAM))          \
		-o ../$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM).orig.tar.gz