[Pkg-golang-commits] [SCM] Packaging for Google Go branch, debian-sid, updated. debian/2%1.0.1-1-23-g05418e9
Michael Stapelberg
michael at stapelberg.de
Sun Mar 3 22:31:26 UTC 2013
The following commit has been merged in the debian-sid branch:
commit 9e511b2bede77a9b09d6856d2c20bd9cbd383343
Author: Michael Stapelberg <michael at stapelberg.de>
Date: Fri Mar 1 18:46:20 2013 +0100
golang-doc: use libjs-jquery instead of bundling 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