From 8b852af6034610757a1e5c3df85be480046946a1 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 1 Sep 2017 21:08:04 +0800 Subject: update install docs --- README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'README.md') 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) -- cgit v1.2.3