1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#!/usr/bin/make -f
BUILDDIR = _build
%:
dh $@ --builddirectory=$(BUILDDIR) --buildsystem=golang --with=golang
override_dh_auto_build:
dh_auto_build
# go install doesn’t install dangling symlinks and such
cp -af pathtools/testdata $(BUILDDIR)/src/github.com/google/blueprint/pathtools
override_dh_auto_install:
dh_auto_install
# go install doesn’t install dangling symlinks and such
cp -af pathtools/testdata debian/tmp/usr/share/gocode/src/github.com/google/blueprint/pathtools
override_dh_link:
dh_link -Xblueprint/pathtools
override_dh_auto_test:
-dh_auto_test
|