diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-11-22 20:51:28 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-11-22 20:51:28 +0000 |
commit | 7dace4af7e2f0235a49fa64b47b13c50691baddb (patch) | |
tree | 40fd4fc02d27f8141b79b4e832c46db3af2898d6 /doc | |
parent | d55a5826e81136a9ecf65c4cd407152a56684dc2 (diff) | |
download | luasocket-7dace4af7e2f0235a49fa64b47b13c50691baddb.tar.gz luasocket-7dace4af7e2f0235a49fa64b47b13c50691baddb.tar.bz2 luasocket-7dace4af7e2f0235a49fa64b47b13c50691baddb.zip |
Changed LIB/SHARE to CDIR/LDIR.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/installation.html | 36 |
1 files changed, 18 insertions, 18 deletions
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. | |||
65 | 65 | ||
66 | <p> On Unix systems, the standard distribution uses two base | 66 | <p> On Unix systems, the standard distribution uses two base |
67 | directories, one for system dependent files, and another for system | 67 | directories, one for system dependent files, and another for system |
68 | independent files. Let's call these directories <tt><LIB></tt> | 68 | independent files. Let's call these directories <tt><CDIR></tt> |
69 | and <tt><SHARE></tt>, respectively. | 69 | and <tt><LDIR></tt>, respectively. |
70 | For instance, in my laptop, I use '<tt>/usr/local/lib/lua/5.0</tt>' for | 70 | For instance, in my laptop, I use '<tt>/usr/local/lib/lua/5.0</tt>' for |
71 | <tt><LIB></tt> and '<tt>/usr/local/share/lua/5.0</tt>' for | 71 | <tt><CDIR></tt> and '<tt>/usr/local/share/lua/5.0</tt>' for |
72 | <tt><SHARE></tt>. On Windows, sometimes only one directory is used, say | 72 | <tt><LDIR></tt>. On Windows, sometimes only one directory is used, say |
73 | '<tt>c:\program files\lua\5.0</tt>'. Here is the standard LuaSocket | 73 | '<tt>c:\program files\lua\5.0</tt>'. Here is the standard LuaSocket |
74 | distribution directory structure:</p> | 74 | distribution directory structure:</p> |
75 | 75 | ||
76 | <pre class=example> | 76 | <pre class=example> |
77 | <SHARE>/compat-5.1.lua | 77 | <LDIR>/compat-5.1.lua |
78 | <SHARE>/ltn12.lua | 78 | <LDIR>/ltn12.lua |
79 | <SHARE>/socket.lua | 79 | <LDIR>/socket.lua |
80 | <LIB>/socket/core.dll | 80 | <CDIR>/socket/core.dll |
81 | <SHARE>/socket/http.lua | 81 | <LDIR>/socket/http.lua |
82 | <SHARE>/socket/tp.lua | 82 | <LDIR>/socket/tp.lua |
83 | <SHARE>/socket/ftp.lua | 83 | <LDIR>/socket/ftp.lua |
84 | <SHARE>/socket/smtp.lua | 84 | <LDIR>/socket/smtp.lua |
85 | <SHARE>/socket/url.lua | 85 | <LDIR>/socket/url.lua |
86 | <SHARE>/mime.lua | 86 | <LDIR>/mime.lua |
87 | <LIB>/mime/core.dll | 87 | <CDIR>/mime/core.dll |
88 | </pre> | 88 | </pre> |
89 | 89 | ||
90 | <p> Naturally, on Unix systems, <tt>core.dll</tt> | 90 | <p> Naturally, on Unix systems, <tt>core.dll</tt> |
@@ -96,7 +96,7 @@ environment variables need to be set. The first environment variable tells | |||
96 | the interpreter to load the <tt>compat-5.1.lua</tt> module at startup: </p> | 96 | the interpreter to load the <tt>compat-5.1.lua</tt> module at startup: </p> |
97 | 97 | ||
98 | <pre class=example> | 98 | <pre class=example> |
99 | LUA_INIT=@<SHARE>/compat-5.1.lua | 99 | LUA_INIT=@<LDIR>/compat-5.1.lua |
100 | </pre> | 100 | </pre> |
101 | 101 | ||
102 | <p> | 102 | <p> |
@@ -106,8 +106,8 @@ directories and with the appropriate filename extensions. | |||
106 | </p> | 106 | </p> |
107 | 107 | ||
108 | <pre class=example> | 108 | <pre class=example> |
109 | LUA_PATH=<SHARE>/?.lua;?.lua | 109 | LUA_PATH=<LDIR>/?.lua;?.lua |
110 | LUA_CPATH=<LIB>/?.dll;?.dll | 110 | LUA_CPATH=<CDIR>/?.dll;?.dll |
111 | </pre> | 111 | </pre> |
112 | 112 | ||
113 | <p> Again, naturally, on Unix systems the shared library extension would be | 113 | <p> Again, naturally, on Unix systems the shared library extension would be |