summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2012-06-14 15:48:03 +0200
committerOndřej Surý <ondrej@sury.org>2012-06-14 15:48:03 +0200
commite9a2f2013f8fe5da1fd15cae5cab33d9c0c0ea66 (patch)
treefb2ad0d0592f70bf53175505de6a41bbefb0ad4f
parentf19cd50091e10d905ecc6c20110cd659feb65c9d (diff)
downloadgolang-e9a2f2013f8fe5da1fd15cae5cab33d9c0c0ea66.tar.gz
Kill get-orig-source, since 1.0.0, the tarballs can be downloaded from webpage
-rwxr-xr-xdebian/rules18
1 files changed, 0 insertions, 18 deletions
diff --git a/debian/rules b/debian/rules
index acf458d06..4e1f7ad23 100755
--- a/debian/rules
+++ b/debian/rules
@@ -132,22 +132,4 @@ endif
export GOROOT GOROOT_FINAL GOOS GOARCH GOARM GOBIN GOHOSTARCH GOHOSTOS
-REPO = https://go.googlecode.com/hg/
-GOLANG_ORIG_DIR = $(CURDIR)/../go
-REV = release
-get-orig-source:
- -set -e; \
- if [ ! -d $(GOLANG_ORIG_DIR) ]; then \
- hg clone -r"$(REV)" "$(REPO)" "$(GOLANG_ORIG_DIR)"; \
- fi
- cd "$(GOLANG_ORIG_DIR)"; \
- hg pull; \
- hg update "$(REV)"; \
- VERSION=$$(cat VERSION | perl -e '<> =~ /go([\d.]+)/; print "$$1"'); \
- hg archive -tfiles -r"$(REV)" -X'.hg*' -X'doc/talks/go_talk-20091030.pdf' "$(CURDIR)/../$(PACKAGE)-$$VERSION/"; \
- cd ..; \
- tar -czf "$(CURDIR)/../$(PACKAGE)_$$VERSION.orig.tar.gz" "$(PACKAGE)-$$VERSION/"; \
- rm -rf "$(CURDIR)/../$(PACKAGE)-$$VERSION/"; \
- echo "Now run git-import-orig $(CURDIR)/../$(PACKAGE)_$$VERSION.orig.tar.gz"
-
.PHONY: build clean install binary-arch binary-indep binary