[Pkg-golang-commits] [golang] 07/11: golang-src: install test/, golang-go.tools (and possibly others) use it
Michael Stapelberg
michael at stapelberg.de
Mon Dec 2 23:33:54 UTC 2013
This is an automated email from the git hooks/post-receive script.
stapelberg pushed a commit to branch debian-sid
in repository golang.
commit cf80005074ea2f7e5c46df98ed6a2d714a426fba
Author: Michael Stapelberg <stapelberg at debian.org>
Date: Mon Dec 2 19:01:28 2013 +0100
golang-src: install test/, golang-go.tools (and possibly others) use it
---
debian/golang-src.install | 1 +
debian/rules | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/debian/golang-src.install b/debian/golang-src.install
index 8885d62..f034ba5 100644
--- a/debian/golang-src.install
+++ b/debian/golang-src.install
@@ -1 +1,2 @@
src /usr/share/go/
+test /usr/share/go/
diff --git a/debian/rules b/debian/rules
index c66207a..436b9e9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -75,9 +75,6 @@ override_dh_install:
# Replace jquery in the html documentation with a symlink to libjs-jquery.
-rm $(CURDIR)/debian/golang-doc/usr/share/doc/golang-doc/html/jquery.js && \
ln -s /usr/share/javascript/jquery/jquery.min.js $(CURDIR)/debian/golang-doc/usr/share/doc/golang-doc/html/jquery.js
- # Remove testdata and tests from installed src directory
- find $(CURDIR)/debian/golang-src/usr/share/go/src -type d -name testdata -prune -execdir rm -rf {} \;
- find $(CURDIR)/debian/golang-src/usr/share/go/src -type f -name '*_test.go' -delete
# Remove .syso files of the race detector; it is not used yet and the files are arch-dependent.
find $(CURDIR)/debian/golang-src/usr/share/go/src/pkg/runtime/race -type f -name '*.syso' -delete
# Remove Plan9 rc(1) scripts
@@ -105,6 +102,9 @@ override_dh_prep:
override_dh_builddeb:
dh_builddeb -- -Zxz
+override_dh_shlibdeps:
+ dh_shlibdeps -Xtestdata -Xtest
+
debian/build.stamp:
rm -f debian/build.stamp
mkdir -p $(GOBIN)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-golang/golang.git
More information about the pkg-golang-commits
mailing list