| 1 |
|
| 2 |
|
| 3 |
include /usr/share/dpkg/pkg-info.mk |
| 4 |
|
| 5 |
export DH_GOLANG_INSTALL_EXTRAscip-debian debian bingo 0.10.0-2 bingo/rules/DH_GOLANG_INSTALL_EXTRA. := \ |
| 6 |
.bingo/Variables.mk \ |
| 7 |
Makefile \ |
| 8 |
builtin/help/cmd.tmpl \ |
| 9 |
|
| 10 |
|
| 11 |
%scip-debian debian bingo 0.10.0-2 bingo/rules/`%`().: |
| 12 |
dh $@ --builddirectory=_build --buildsystem=golang |
| 13 |
|
| 14 |
execute_before_dh_auto_installscip-debian debian bingo 0.10.0-2 bingo/rules/execute_before_dh_auto_install().: |
| 15 |
rm -fv _build/src/github.com/bwplotka/bingo/.bin/bingo |
| 16 |
rm -rfv _build/src/github.com/bwplotka/bingo/.bingo |
| 17 |
rm -rfv _build/src/github.com/bwplotka/bingo/testdata/testproject_with_bingo_*/ |
| 18 |
rm -fv _build/src/github.com/bwplotka/bingo/pkg/bingo/test*.mod |
| 19 |
|
| 20 |
|
| 21 |
SKIPscip-debian debian bingo 0.10.0-2 bingo/rules/SKIP.='TestCompatibilityCurrentVersionCreate|TestGet_ModuleCases|TestGetList|TestCompatibility' |
| 22 |
override_dh_auto_testscip-debian debian bingo 0.10.0-2 bingo/rules/override_dh_auto_test().: |
| 23 |
dh_auto_testscip-debian debian debhelper . dh_auto_test(). -- -skip=$(SKIPscip-debian debian bingo 0.10.0-2 bingo/rules/SKIP.) |
| 24 |
-dh_auto_testscip-debian debian debhelper . dh_auto_test(). -- -run=$(SKIPscip-debian debian bingo 0.10.0-2 bingo/rules/SKIP.) |
| 25 |
|
| 26 |
Bscip-debian debian bingo 0.10.0-2 bingo/rules/B. = $(CURDIRscip-debian debian bingo 0.10.0-2 bingo/rules/CURDIR.)/debian/tmp/usr/bin |
| 27 |
Mscip-debian debian bingo 0.10.0-2 bingo/rules/M. = $(CURDIRscip-debian debian bingo 0.10.0-2 bingo/rules/CURDIR.)/debian/tmp/usr/share/man/man1 |
| 28 |
|
| 29 |
ifeq (,$(filterscip-debian debian bingo 0.10.0-2 bingo/rules/filter. nodoc,$(DEB_BUILD_PROFILESscip-debian debian bingo 0.10.0-2 bingo/rules/DEB_BUILD_PROFILES.))) |
| 30 |
execute_before_dh_installman-archscip-debian debian bingo 0.10.0-2 bingo/rules/execute_before_dh_installman-arch().: |
| 31 |
mkdir -pv $(Mscip-debian debian bingo 0.10.0-2 bingo/rules/M.) |
| 32 |
env PATH=$(PATHscip-debian debian bingo 0.10.0-2 bingo/rules/PATH.):$(Bscip-debian debian bingo 0.10.0-2 bingo/rules/B.) \ |
| 33 |
help2man --version-string="$(DEB_VERSIONscip-debian debian bingo 0.10.0-2 bingo/rules/DEB_VERSION.)" \ |
| 34 |
--no-info \ |
| 35 |
--name="Like 'go get' but for Go tools" \ |
| 36 |
--output $(Mscip-debian debian bingo 0.10.0-2 bingo/rules/M.)/bingo.1 \ |
| 37 |
bingo |
| 38 |
endif |