1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
#!/usr/bin/make -f
# -*- makefile -*-
#export DH_VERBOSE=1
%:
dh $@ --builddirectory=_build --buildsystem=golang --with=golang
# we actually do compile the examples, for sanity.
# but we don't want to install them as system binaries nor libraries
# they are installed in the correct place by dh_installexamples
override_dh_auto_install:
cd _build && rm -rf bin/ src/git.torproject.org/pluggable-transports/goptlib.git/examples
dh_auto_install
override_dh_auto_test:
cp test_authcookie _build/src/gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/goptlib
dh_auto_test
|