1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# default value from debhelper's Buildsystem.pm. perhaps there's a better way
BUILDDIR = obj-$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
%:
dh $@ --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 "$(BUILDDIR)" && rm -rf bin/ src/git.torproject.org/pluggable-transports/goptlib.git/examples
dh_auto_install
|