diff xml/en/docs/njs/install.xml @ 2459:2aad23d07d96

Clarified procedure for building njs modules.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 05 Nov 2019 17:30:26 +0300
parents 87a0e2c73a25
children 33468af2eaf7
line wrap: on
line diff
--- a/xml/en/docs/njs/install.xml
+++ b/xml/en/docs/njs/install.xml
@@ -9,7 +9,7 @@
 <article name="Download and install"
         link="/en/docs/njs/install.html"
         lang="en"
-        rev="1">
+        rev="2">
 
 <section id="install_package" name="Installing as a Linux package">
 
@@ -43,7 +43,8 @@ with njs sources can be cloned with the 
 <example>
 hg clone http://hg.nginx.org/njs
 </example>
-Then the modules should be compiled using the
+Then the modules should be compiled from
+<link doc="../configure.xml">nginx</link> root directory using the
 <literal>--add-module</literal> configuration parameter:
 <example>
 ./configure --add-module=<value>path-to-njs</value>/nginx