aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorruki <waruqi@gmail.com>2017-09-01 21:08:04 +0800
committerruki <waruqi@gmail.com>2017-09-01 21:08:04 +0800
commit8b852af6034610757a1e5c3df85be480046946a1 (patch)
tree20436c45d98b5be74d1bfa4ffc964ea81cc4e4ff /README.md
parentf75675a69b32137ac29e924d5716dad8abf1d1bc (diff)
downloadxmake-docs-8b852af6034610757a1e5c3df85be480046946a1.tar.gz
xmake-docs-8b852af6034610757a1e5c3df85be480046946a1.zip
update install docs
Diffstat (limited to 'README.md')
-rw-r--r--README.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1a5dca44..d6cf35d4 100644
--- a/README.md
+++ b/README.md
@@ -126,12 +126,44 @@ Or download deb package to install it:
#### Compilation
+Compile and install:
+
```bash
$ git clone git@github.com:waruqi/xmake.git
$ cd ./xmake
$ ./scripts/get.sh __local__
```
+Only install and update lua scripts:
+
+```bash
+$ ./scripts/get.sh __local__ __install_only__
+```
+
+Uninstall:
+
+```bash
+$ ./scripts/get.sh __uninstall__
+```
+
+Or compile and install via make:
+
+```bash
+$ make build; sudo make install
+```
+
+Install to other given directory:
+
+```bash
+$ sudo make install prefix=/usr/local
+```
+
+Uninstall:
+
+```bash
+$ sudo make uninstall
+```
+
## Quick Start
[![asciicast](https://asciinema.org/a/133693.png)](https://asciinema.org/a/133693)