[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:26 UTC 2013


The following commit has been merged in the debian-sid branch:
commit 10242b376d701732b9d69de869be7460d2182c83
Author: Michael Stapelberg <stapelberg at debian.org>
Date:   Mon Mar 4 21:36:09 2013 +0100

    remove plan9 rc(1) scripts from golang-src

diff --git a/debian/rules b/debian/rules
index 1f939a4..35bbf6d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -41,6 +41,8 @@ override_dh_install:
 	# 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 Plan9 rc(1) scripts
+	find $(CURDIR)/debian/golang-src/usr/share/go/src -type f -name "*.rc" -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