From d7b9789d27dab852b37d0658281612c5deb1104c Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 19 Dec 2011 15:51:13 -0500 Subject: 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 --- src/make.bash | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/make.bash') 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. -- cgit v1.2.1