diff options
| -rw-r--r-- | README.md | 32 | ||||
| -rw-r--r-- | zh/README.md | 32 |
2 files changed, 64 insertions, 0 deletions
@@ -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 [](https://asciinema.org/a/133693) diff --git a/zh/README.md b/zh/README.md index 92908d8b..92211632 100644 --- a/zh/README.md +++ b/zh/README.md @@ -154,12 +154,44 @@ $ sudo apt-get install xmake #### 编译安装 +通过脚本编译安装: + ```bash $ git clone git@github.com:waruqi/xmake.git $ cd ./xmake $ ./scripts/get.sh __local__ ``` +仅仅安装和更新xmake的lua脚本: + +```bash +$ ./scripts/get.sh __local__ __install_only__ +``` + +卸载: + +```bash +$ ./scripts/get.sh __uninstall__ +``` + +通过make进行编译安装: + +```bash +$ make build; sudo make install +``` + +安装到其他指定目录: + +```bash +$ sudo make install prefix=/usr/local +``` + +卸载: + +```bash +$ sudo make uninstall +``` + ## 快速开始 [](https://asciinema.org/a/133693) |
