mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-02 12:07:35 +08:00
makefile: add comments for install
command. (#1912)
* doc: update output of `make help`
This commit is contained in:
parent
4c61baa7e9
commit
3947f06989
4
Makefile
4
Makefile
@ -36,7 +36,7 @@ endif
|
||||
|
||||
LUAJIT_DIR ?= $(shell ${OR_EXEC} -V 2>&1 | grep prefix | grep -Eo 'prefix=(.*)/nginx\s+--' | grep -Eo '/.*/')luajit
|
||||
|
||||
### help: Show Makefile rules.
|
||||
### help: Show Makefile rules
|
||||
.PHONY: help
|
||||
help: default
|
||||
@echo Makefile rules:
|
||||
@ -112,7 +112,7 @@ reload: default
|
||||
$(OR_EXEC) -p $$PWD/ -c $$PWD/conf/nginx.conf -s reload
|
||||
|
||||
|
||||
### install: Install the apisix
|
||||
### install: Install the apisix (only for luarocks)
|
||||
.PHONY: install
|
||||
install: default
|
||||
$(INSTALL) -d /usr/local/apisix/
|
||||
|
@ -90,19 +90,19 @@ $ make stop
|
||||
$ make help
|
||||
Makefile rules:
|
||||
|
||||
help: Show Makefile rules.
|
||||
deps: Installation dependencies
|
||||
utils: Installation tools
|
||||
lint: Lint Lua source code
|
||||
init: Initialize the runtime environment
|
||||
run: Start the apisix server
|
||||
stop: Stop the apisix server
|
||||
verify: Verify the configuration of apisix server
|
||||
clean: Remove generated files
|
||||
reload: Reload the apisix server
|
||||
install: Install the apisix
|
||||
test: Run the test case
|
||||
license-check: Check lua souce code for Apache License
|
||||
help: Show Makefile rules
|
||||
deps: Installation dependencies
|
||||
utils: Installation tools
|
||||
lint: Lint Lua source code
|
||||
init: Initialize the runtime environment
|
||||
run: Start the apisix server
|
||||
stop: Stop the apisix server
|
||||
verify: Verify the configuration of apisix server
|
||||
clean: Remove generated files
|
||||
reload: Reload the apisix server
|
||||
install: Install the apisix (only for luarocks)
|
||||
test: Run the test case
|
||||
license-check: Check Lua source code for Apache License
|
||||
```
|
||||
|
||||
## 4. Test
|
||||
|
@ -88,19 +88,19 @@ $ make stop
|
||||
$ make help
|
||||
Makefile rules:
|
||||
|
||||
help: Show Makefile rules.
|
||||
deps: Installation dependencies
|
||||
utils: Installation tools
|
||||
lint: Lint Lua source code
|
||||
init: Initialize the runtime environment
|
||||
run: Start the apisix server
|
||||
stop: Stop the apisix server
|
||||
verify: Verify the configuration of apisix server
|
||||
clean: Remove generated files
|
||||
reload: Reload the apisix server
|
||||
install: Install the apisix
|
||||
test: Run the test case
|
||||
license-check: Check lua souce code for Apache License
|
||||
help: Show Makefile rules
|
||||
deps: Installation dependencies
|
||||
utils: Installation tools
|
||||
lint: Lint Lua source code
|
||||
init: Initialize the runtime environment
|
||||
run: Start the apisix server
|
||||
stop: Stop the apisix server
|
||||
verify: Verify the configuration of apisix server
|
||||
clean: Remove generated files
|
||||
reload: Reload the apisix server
|
||||
install: Install the apisix (only for luarocks)
|
||||
test: Run the test case
|
||||
license-check: Check Lua source code for Apache License
|
||||
```
|
||||
|
||||
## 4. 运行测试案例
|
||||
|
Loading…
Reference in New Issue
Block a user