Commit f852ea39 authored by Anthony Fok's avatar Anthony Fok

Use DH_GOLANG_EXCLUDES instead of deleting mc manually

parent 47f3155a
......@@ -7,12 +7,10 @@ export DH_VERBOSE=1
# Using it allows us to build applications without patching locations.
export DH_GOPKG := github.com/kr/text
# Remove the mc program, it doesn't serve any real purpose other than
# demonstration and adds an unnecessary dependency on golang-pty.
# Additional, it's a naming collision with the mc package.
override_dh_auto_configure:
rm -fr ${CURDIR}/mc
dh_auto_configure -O--buildsystem=golang
# Exclude the mc program. It doesn't serve any real purpose other than
# demonstration and adds an unnecessary dependency on golang-github-kr-pty-dev.
# Additionally, it's a naming collision with the mc package.
export DH_GOLANG_EXCLUDES := github.com/kr/text/mc
%:
dh $@ --buildsystem=golang --with=golang
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment