From cf5d4792ff4b6f8291aadc21bfa2e9aaab0df62a Mon Sep 17 00:00:00 2001 From: Evan Martin Date: Sun, 28 Nov 2010 19:21:21 -0800 Subject: update bootstrap --- README.asciidoc | 4 ++-- bootstrap.sh | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.asciidoc b/README.asciidoc index cb0eee5..b348459 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -53,8 +53,8 @@ Getting started --------------- The included `bootstrap.sh` should hopefully produce a working `ninja` -binary. You can then have ninja build itself with the proper build -settings by running `./ninja ninja`. +binary, by first blindly compiling all non-test files together then +re-building ninja using itself. Usage is currently just diff --git a/bootstrap.sh b/bootstrap.sh index d9a2e2b..df726b5 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -4,7 +4,8 @@ set -e srcs=$(ls *.cc | grep -v test) echo "Building stage 1..." -g++ -o ninja $srcs +g++ -o ninja.bootstrap $srcs echo "Building final result..." -./ninja ninja +./ninja.bootstrap ninja +rm ninja.bootstrap echo "Done!" -- cgit v0.12