From 8d8d578abcd86c2f2831358f97f01bb26a218cd9 Mon Sep 17 00:00:00 2001 From: ng0 Date: Fri, 11 Oct 2019 22:28:33 +0000 Subject: [PATCH] bootstrap. --- Makefile | 3 --- README | 4 +++- bootstrap | 6 ++++++ 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 bootstrap diff --git a/Makefile b/Makefile index 627795936..622227316 100644 --- a/Makefile +++ b/Makefile @@ -11,9 +11,6 @@ tslint = node_modules/tslint/bin/tslint -include config.mk -self-strap: submodules/init submodules/update - cd build-scripts && make - .PHONY: tsc tsc: tsconfig.json yarn-install $(tsc) diff --git a/README b/README index 00321381e..3393faf3f 100644 --- a/README +++ b/README @@ -26,10 +26,12 @@ pre-configure step ================== `make submodules/init && make submodules/update` +`ln -sf build-scripts/configure configure` +`ln -sf build-scripts/configure.py configure.py` or, at your choice: -`make self-strap` +`./bootstrap` In the following steps you can ommit `--prefix=$PREFIX` if you have set diff --git a/bootstrap b/bootstrap new file mode 100644 index 000000000..90fc6a32d --- /dev/null +++ b/bootstrap @@ -0,0 +1,6 @@ +#!/bin/sh + +git submodule update --init --recursive +git submodule update --recursive --remote +ln -sf build-scripts/configure configure +ln -sf build-scripts/configure.py configure.py