diff --git a/docs/nmap-install.xml b/docs/nmap-install.xml index 65dad6b92..19d07b455 100644 --- a/docs/nmap-install.xml +++ b/docs/nmap-install.xml @@ -444,17 +444,19 @@ I would run ./configure --prefix=/home/fyodor + CFLAGS CXXFLAGS LDFLAGS -CFLAGSCXXFLAGSLDFLAGS +CFLAGSCXXFLAGSLDFLAGS Extra options to pass to the C compiler, C++ compiler, and linker, respectively. Because parts of Nmap are written in C and others in C++, it's best to use both CFLAGS and CXXFLAGS if you're going to use one of them. + LINGUAS environment variable -LINGUAS translationsof manual pages foreign languagestranslations +LINGUAS By default, make install will install all the available translations of the Nmap man page in addition to the English one. The LINGUAS environment variable can control which translations are installed. Its value should be a space-separated list of ISO language codes. For example, to install only the French and German translations, you might run LINGUAS="fr de" make install. To disable the installation of all translations, run configure with the option or set LINGUAS to the empty string. diff --git a/docs/refguide.xml b/docs/refguide.xml index 55084c0bc..63ff596b4 100644 --- a/docs/refguide.xml +++ b/docs/refguide.xml @@ -2232,9 +2232,9 @@ until found: data filesdirectory search orderscripts, location of -$NMAPDIRNMAPDIR environment variable -~/.nmap (not searched on Windows).nmap directory -NMAPDATADIRNMAPDATADIR +$NMAPDIRNMAPDIR environment variable +~/.nmap (not searched on Windows).nmap directory +NMAPDATADIRNMAPDATADIR the current directory A scripts subdirectory is also tried in each of diff --git a/docs/scripting.xml b/docs/scripting.xml index 6b542b05e..8901bb9c5 100644 --- a/docs/scripting.xml +++ b/docs/scripting.xml @@ -481,9 +481,9 @@ until found: data filesdirectory search orderscripts, location of -$NMAPDIRNMAPDIR environment variable -~/.nmap (not searched on Windows).nmap directory -NMAPDATADIRNMAPDATADIR +$NMAPDIRNMAPDIR environment variable +~/.nmap (not searched on Windows).nmap directory +NMAPDATADIRNMAPDATADIR the current directory A scripts subdirectory is also tried in each of @@ -806,15 +806,17 @@ local username = nmap.registry.args.user + example of - nmap --script smb-os-discovery --script-trace example.com + nmap --script smb-os-discovery --script-trace example.com Execute a specific script with script tracing. + example of - nmap --script snmp-sysdescr --script-args snmpcommunity=admin example.com + nmap --script snmp-sysdescr --script-args snmpcommunity=admin example.com Run an individual script that takes a script argument.