]> Cypherpunks repositories - gostls13.git/commitdiff
build: remove depdenency on GNU make
authorAndrew Gerrand <adg@golang.org>
Mon, 7 Apr 2014 01:34:35 +0000 (11:34 +1000)
committerAndrew Gerrand <adg@golang.org>
Mon, 7 Apr 2014 01:34:35 +0000 (11:34 +1000)
LGTM=bradfitz
R=bradfitz
CC=golang-codereviews
https://golang.org/cl/84920043

doc/articles/wiki/Makefile [deleted file]
doc/articles/wiki/test.bash
src/run.bash

diff --git a/doc/articles/wiki/Makefile b/doc/articles/wiki/Makefile
deleted file mode 100644 (file)
index 67563bc..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-# Copyright 2010 The Go Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style
-# license that can be found in the LICENSE file.
-
-all: index.html
-
-CLEANFILES=get.bin final.bin a.out
-
-clean:
-       rm -f $(CLEANFILES)
index 46c357ebde664edc7d81c3d9222b3b1c0afa5529..2997f1680a6aa08f79b21113c0c08d718b531a88 100755 (executable)
@@ -11,6 +11,8 @@ cleanup() {
 }
 trap cleanup 0 INT
 
+rm -f get.bin final.bin a.out
+
 # If called with -all, check that all code snippets compile.
 if [ "$1" == "-all" ]; then
        for fn in *.go; do
index 8e8715cab0f188c632e1755d8e81ead8d6d0715d..dee30183f5002293f1ae9b75eded560c8476fa7a 100755 (executable)
@@ -166,7 +166,6 @@ time ./run || exit 1
 
 [ "$GOARCH" == arm ] ||  # uses network, fails under QEMU
 (xcd ../doc/articles/wiki
-make clean || exit 1
 ./test.bash || exit 1
 ) || exit $?