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

Michael Stapelberg michael at stapelberg.de
Sat Mar 23 11:11:31 UTC 2013


The following commit has been merged in the debian-sid branch:
commit c06e14c05733f526ce0a6ed799abcfafb2d1437b
Author: Michael Stapelberg <michael at stapelberg.de>
Date:   Sat Mar 23 11:57:55 2013 +0100

    remove empty /usr/share/go from golang-go

diff --git a/debian/rules b/debian/rules
index 7d41766..5f48972 100755
--- a/debian/rules
+++ b/debian/rules
@@ -47,6 +47,8 @@ override_dh_install:
 	find $(CURDIR)/debian/golang-src/usr/share/go/src -type f -name "*.rc" -delete
 	# Remove empty /usr/share/go/src from golang-go, it is provided by golang-src
 	find $(CURDIR)/debian/golang-go/usr/share/go/src -type d -delete
+	# Subsequently, /usr/share/go is empty, too, so remove
+	find $(CURDIR)/debian/golang-go/usr/share/go -type d -delete
 	# Touch built and installed files and directories to have same timestamp
 	touch $(CURDIR)/debian/golang-go/usr/lib/go/pkg
 	find $(CURDIR)/debian/golang-go/usr/lib/go/pkg -exec touch -r $(CURDIR)/debian/golang-go/usr/lib/go/pkg {} \;

-- 
Packaging for Google Go



More information about the pkg-golang-commits mailing list