| 1 |
|
| 2 |
|
| 3 |
include /usr/share/dpkg/pkg-info.mk |
| 4 |
|
| 5 |
export DH_GOLANG_EXCLUDESscip-debian debian golang-github-awslabs-soci-snapshotter 0.4.1-6 golang-github-awslabs-soci-snapshotter/rules/DH_GOLANG_EXCLUDES. := benchmark |
| 6 |
|
| 7 |
PKGscip-debian debian golang-github-awslabs-soci-snapshotter 0.4.1-6 golang-github-awslabs-soci-snapshotter/rules/PKG.=github.com/awslabs/soci-snapshotter |
| 8 |
VERSIONscip-debian debian golang-github-awslabs-soci-snapshotter 0.4.1-6 golang-github-awslabs-soci-snapshotter/rules/VERSION. = $(DEB_VERSION_UPSTREAM_REVISIONscip-debian debian golang-github-awslabs-soci-snapshotter 0.4.1-6 golang-github-awslabs-soci-snapshotter/rules/DEB_VERSION_UPSTREAM_REVISION.) |
| 9 |
REVISIONscip-debian debian golang-github-awslabs-soci-snapshotter 0.4.1-6 golang-github-awslabs-soci-snapshotter/rules/REVISION. = $(DEB_VERSIONscip-debian debian golang-github-awslabs-soci-snapshotter 0.4.1-6 golang-github-awslabs-soci-snapshotter/rules/DEB_VERSION.) |
| 10 |
|
| 11 |
GO_LDFLAGSscip-debian debian golang-github-awslabs-soci-snapshotter 0.4.1-6 golang-github-awslabs-soci-snapshotter/rules/GO_LDFLAGS. = -ldflags '-X $(PKG)/version.Version=$(VERSION) -X $(PKG)/version.Revision=$(REVISION) $(GO_EXTRA_LDFLAGS)' |
| 12 |
|
| 13 |
%scip-debian debian golang-github-awslabs-soci-snapshotter 0.4.1-6 golang-github-awslabs-soci-snapshotter/rules/`%`().: |
| 14 |
dh $@ --builddirectory=_build --buildsystem=golang |
| 15 |
|
| 16 |
|
| 17 |
override_dh_auto_buildscip-debian debian golang-github-awslabs-soci-snapshotter 0.4.1-6 golang-github-awslabs-soci-snapshotter/rules/override_dh_auto_build().: |
| 18 |
dh_auto_buildscip-debian debian debhelper . dh_auto_build(). --builddirectory=_build -- $(GO_LDFLAGSscip-debian debian golang-github-awslabs-soci-snapshotter 0.4.1-6 golang-github-awslabs-soci-snapshotter/rules/GO_LDFLAGS.) |
| 19 |
|
| 20 |
override_dh_auto_testscip-debian debian golang-github-awslabs-soci-snapshotter 0.4.1-6 golang-github-awslabs-soci-snapshotter/rules/override_dh_auto_test().: |
| 21 |
dh_auto_testscip-debian debian debhelper . dh_auto_test(). --builddirectory=_build -- $(GO_LDFLAGSscip-debian debian golang-github-awslabs-soci-snapshotter 0.4.1-6 golang-github-awslabs-soci-snapshotter/rules/GO_LDFLAGS.) |
| 22 |
|