summaryrefslogtreecommitdiff
path: root/src/make.bash
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-12-19 15:51:13 -0500
committerRuss Cox <rsc@golang.org>2011-12-19 15:51:13 -0500
commitd7b9789d27dab852b37d0658281612c5deb1104c (patch)
tree3a9637a29e636c9e70f08137343834974551381a /src/make.bash
parent07415ed43da7bc93b4317c58e1f306c35b81fc2a (diff)
downloadgo-d7b9789d27dab852b37d0658281612c5deb1104c.tar.gz
runtime: separate out auto-generated files, take 2
This is like the ill-fated CL 5493063 except that I have written a shell script (autogen.sh) instead of thinking I could possibly write a correct Makefile. R=golang-dev, r CC=golang-dev http://codereview.appspot.com/5496075
Diffstat (limited to 'src/make.bash')
-rwxr-xr-xsrc/make.bash8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/make.bash b/src/make.bash
index 3580d2a0b..83c1db4f4 100755
--- a/src/make.bash
+++ b/src/make.bash
@@ -78,12 +78,18 @@ done
bash "$GOROOT"/src/clean.bash
# pkg builds libcgo and the Go programs in cmd.
-for i in lib9 libbio libmach cmd pkg
+for i in lib9 libbio libmach cmd
do
echo; echo; echo %%%% making $i %%%%; echo
gomake -C $i install
done
+echo; echo; echo %%%% making runtime generated files %%%%; echo
+(cd "$GOROOT"/src/pkg/runtime; ./autogen.sh) || exit 1
+
+echo; echo; echo %%%% making pkg %%%%; echo
+gomake -C pkg install
+
# Print post-install messages.
# Implemented as a function so that all.bash can repeat the output
# after run.bash finishes running all the tests.