summaryrefslogtreecommitdiff
path: root/src/pkg/unicode
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2012-01-30 23:43:46 -0500
committerRuss Cox <rsc@golang.org>2012-01-30 23:43:46 -0500
commitfa5af45f7a40ae8038cbd320e5c0dd697f6812a0 (patch)
tree50fd6e9596e318b9bc146a72e7b974b8e0f1827e /src/pkg/unicode
parentffd34135226e6031aef56d974ca4c78d42076fed (diff)
downloadgo-fa5af45f7a40ae8038cbd320e5c0dd697f6812a0.tar.gz
build: remove Make.pkg, Make.tool
Consequently, remove many package Makefiles, and shorten the few that remain. gomake becomes 'go tool make'. Turn off test phases of run.bash that do not work, flagged with $BROKEN. Future CLs will restore these, but this seemed like a big enough CL already. R=golang-dev, r CC=golang-dev http://codereview.appspot.com/5601057
Diffstat (limited to 'src/pkg/unicode')
-rw-r--r--src/pkg/unicode/Makefile22
-rw-r--r--src/pkg/unicode/utf16/Makefile11
-rw-r--r--src/pkg/unicode/utf8/Makefile11
3 files changed, 2 insertions, 42 deletions
diff --git a/src/pkg/unicode/Makefile b/src/pkg/unicode/Makefile
index 4472a6c67..91eb3c45d 100644
--- a/src/pkg/unicode/Makefile
+++ b/src/pkg/unicode/Makefile
@@ -4,33 +4,15 @@
include ../../Make.inc
-TARG=unicode
-GOFILES=\
- casetables.go\
- digit.go\
- graphic.go\
- letter.go\
- tables.go\
-
-include ../../Make.pkg
-
-CLEANFILES+=maketables
-
maketables: maketables.go
- $(GC) $(GCFLAGS) $(GCIMPORTS) maketables.go
- $(LD) -o maketables maketables.$O
+ go build maketables.go
tables: maketables
./maketables --tables=all > tables.go
gofmt -w tables.go
-# Build (but do not run) maketables during testing,
-# just to make sure it still compiles.
-test: maketables
-testshort: maketables
-
# Downloads from www.unicode.org, so not part
# of standard test scripts.
testtables: maketables
- @echo '***' Be sure to make tables and make install first
+ @echo '***' Be sure to make tables and go install first
./maketables -test
diff --git a/src/pkg/unicode/utf16/Makefile b/src/pkg/unicode/utf16/Makefile
deleted file mode 100644
index f64b3c86e..000000000
--- a/src/pkg/unicode/utf16/Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
-# Copyright 2009 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.
-
-include ../../../Make.inc
-
-TARG=unicode/utf16
-GOFILES=\
- utf16.go\
-
-include ../../../Make.pkg
diff --git a/src/pkg/unicode/utf8/Makefile b/src/pkg/unicode/utf8/Makefile
deleted file mode 100644
index b6c36f07b..000000000
--- a/src/pkg/unicode/utf8/Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
-# Copyright 2009 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.
-
-include ../../../Make.inc
-
-TARG=unicode/utf8
-GOFILES=\
- utf8.go\
-
-include ../../../Make.pkg