This is an automated email from the ASF dual-hosted git repository.

membphis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 3947f06  makefile: add comments for `install` command. (#1912)
3947f06 is described below

commit 3947f06989f94f0381307361a39c3f6849a6f25d
Author: YuanSheng Wang <membp...@gmail.com>
AuthorDate: Wed Jul 29 19:23:49 2020 +0800

    makefile: add comments for `install` command. (#1912)
    
    * doc: update output of `make help`
---
 Makefile                  |  4 ++--
 doc/how-to-build.md       | 26 +++++++++++++-------------
 doc/zh-cn/how-to-build.md | 26 +++++++++++++-------------
 3 files changed, 28 insertions(+), 28 deletions(-)

diff --git a/Makefile b/Makefile
index 5836e36..edfc950 100644
--- a/Makefile
+++ b/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/
diff --git a/doc/how-to-build.md b/doc/how-to-build.md
index 157baa3..50c825c 100644
--- a/doc/how-to-build.md
+++ b/doc/how-to-build.md
@@ -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
diff --git a/doc/zh-cn/how-to-build.md b/doc/zh-cn/how-to-build.md
index 56a1c18..5300491 100644
--- a/doc/zh-cn/how-to-build.md
+++ b/doc/zh-cn/how-to-build.md
@@ -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. 运行测试案例

Reply via email to