diff options
-rw-r--r-- | README.asciidoc | 4 | ||||
-rwxr-xr-x | 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!" |