Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export DH_GOLANG_INSTALL_EXTRA := description.json
4
5 %:
6 dh $@ --builddirectory=debian/_build --buildsystem=golang
7
8 execute_after_dh_auto_configure:
9 # golang.org/x/tools/go/vcs v0.1.0-deprecated
10 ln -s $(CURDIR)/debian/go/src \
11 debian/_build/src/github.com/Debian/dh-make-golang/vendor
12 # github.com/google/go-github/github (with Go modules disabled)
13 sed -i -e 's#go-github/v[0-9]\+/github#go-github/github#' \
14 debian/_build/src/github.com/Debian/dh-make-golang/main.go
15
16 override_dh_auto_install:
17 dh_auto_install -- --no-source
18
19 execute_before_dh_installman:
20 pandoc -f markdown -t man -s dh-make-golang.md -o dh-make-golang.1