[Pkg-golang-commits] [SCM] Packaging for Google Go branch, debian-sid, updated. debian/2%1.0.1-1-27-g9ecbce4

Michael Stapelberg michael at stapelberg.de
Mon Mar 4 20:52:25 UTC 2013


The following commit has been merged in the debian-sid branch:
commit 290ac063eab5530fca696b1dfa0dacddf840b7fa
Author: Michael Stapelberg <stapelberg at debian.org>
Date:   Mon Mar 4 21:35:23 2013 +0100

    golang-doc: use libjs-jquery instead of bundled jquery

diff --git a/debian/control b/debian/control
index 92ce555..546db3c 100644
--- a/debian/control
+++ b/debian/control
@@ -57,7 +57,7 @@ Package: golang-doc
 Replaces: golang-weekly-doc
 Conflicts: golang-weekly-doc
 Provides: golang-weekly-doc
-Depends: ${misc:Depends}, golang-go
+Depends: ${misc:Depends}, golang-go, libjs-jquery
 Architecture: all
 Section: doc
 Description: Go programming language compiler - documentation
diff --git a/debian/rules b/debian/rules
index 4e1f7ad..29bb141 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,6 +35,9 @@ override_dh_install:
 	dh_install --fail-missing
 	# Remove binary from documentation
 	-rm $(CURDIR)/debian/golang-doc/usr/share/doc/golang-doc/html/articles/wiki/get.bin
+	# 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
 	# Make scripts executable
 	chmod +x $(CURDIR)/debian/golang-src/usr/share/go/src/cmd/godoc/setup-godoc-app.bash
 	# Remove testdata and tests from installed src directory

-- 
Packaging for Google Go



More information about the pkg-golang-commits mailing list