diff --git a/doc/installation.html b/doc/installation.html index f293de6..fa1d96f 100644 --- a/doc/installation.html +++ b/doc/installation.html @@ -65,26 +65,26 @@ the package scheme will likely already have been answered.
On Unix systems, the standard distribution uses two base directories, one for system dependent files, and another for system -independent files. Let's call these directories <LIB> -and <SHARE>, respectively. +independent files. Let's call these directories <CDIR> +and <LDIR>, respectively. For instance, in my laptop, I use '/usr/local/lib/lua/5.0' for -<LIB> and '/usr/local/share/lua/5.0' for -<SHARE>. On Windows, sometimes only one directory is used, say +<CDIR> and '/usr/local/share/lua/5.0' for +<LDIR>. On Windows, sometimes only one directory is used, say 'c:\program files\lua\5.0'. Here is the standard LuaSocket distribution directory structure:
-<SHARE>/compat-5.1.lua -<SHARE>/ltn12.lua -<SHARE>/socket.lua -<LIB>/socket/core.dll -<SHARE>/socket/http.lua -<SHARE>/socket/tp.lua -<SHARE>/socket/ftp.lua -<SHARE>/socket/smtp.lua -<SHARE>/socket/url.lua -<SHARE>/mime.lua -<LIB>/mime/core.dll +<LDIR>/compat-5.1.lua +<LDIR>/ltn12.lua +<LDIR>/socket.lua +<CDIR>/socket/core.dll +<LDIR>/socket/http.lua +<LDIR>/socket/tp.lua +<LDIR>/socket/ftp.lua +<LDIR>/socket/smtp.lua +<LDIR>/socket/url.lua +<LDIR>/mime.lua +<CDIR>/mime/core.dll
Naturally, on Unix systems, core.dll @@ -96,7 +96,7 @@ environment variables need to be set. The first environment variable tells the interpreter to load the compat-5.1.lua module at startup:
-LUA_INIT=@<SHARE>/compat-5.1.lua +LUA_INIT=@<LDIR>/compat-5.1.lua
@@ -106,8 +106,8 @@ directories and with the appropriate filename extensions.
-LUA_PATH=<SHARE>/?.lua;?.lua -LUA_CPATH=<LIB>/?.dll;?.dll +LUA_PATH=<LDIR>/?.lua;?.lua +LUA_CPATH=<CDIR>/?.dll;?.dll
Again, naturally, on Unix systems the shared library extension would be