diff options
Diffstat (limited to 'src/pkg/unicode/Makefile')
-rw-r--r-- | src/pkg/unicode/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/pkg/unicode/Makefile b/src/pkg/unicode/Makefile index df0b4a642..53f7229e7 100644 --- a/src/pkg/unicode/Makefile +++ b/src/pkg/unicode/Makefile @@ -13,18 +13,22 @@ GOFILES=\ include ../../Make.pkg +CLEANFILES+=maketables + maketables: maketables.go $(GC) maketables.go $(LD) -o maketables maketables.$O tables: maketables - $(GC) maketables.go - $(LD) -o maketables maketables.$O ./maketables --tables=all > tables.go gofmt -w tables.go - rm -f maketables +# Build (but do not run) maketables during testing, +# just to make sure it still compiles. +test: 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 make install first ./maketables -test - rm -f maketables |