aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2005-11-22 20:51:28 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2005-11-22 20:51:28 +0000
commit7dace4af7e2f0235a49fa64b47b13c50691baddb (patch)
tree40fd4fc02d27f8141b79b4e832c46db3af2898d6 /doc
parentd55a5826e81136a9ecf65c4cd407152a56684dc2 (diff)
downloadluasocket-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.html36
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
67directories, one for system dependent files, and another for system 67directories, one for system dependent files, and another for system
68independent files. Let's call these directories <tt>&lt;LIB&gt;</tt> 68independent files. Let's call these directories <tt>&lt;CDIR&gt;</tt>
69and <tt>&lt;SHARE&gt;</tt>, respectively. 69and <tt>&lt;LDIR&gt;</tt>, respectively.
70For instance, in my laptop, I use '<tt>/usr/local/lib/lua/5.0</tt>' for 70For instance, in my laptop, I use '<tt>/usr/local/lib/lua/5.0</tt>' for
71<tt>&lt;LIB&gt;</tt> and '<tt>/usr/local/share/lua/5.0</tt>' for 71<tt>&lt;CDIR&gt;</tt> and '<tt>/usr/local/share/lua/5.0</tt>' for
72<tt>&lt;SHARE&gt;</tt>. On Windows, sometimes only one directory is used, say 72<tt>&lt;LDIR&gt;</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
74distribution directory structure:</p> 74distribution directory structure:</p>
75 75
76<pre class=example> 76<pre class=example>
77&lt;SHARE&gt;/compat-5.1.lua 77&lt;LDIR&gt;/compat-5.1.lua
78&lt;SHARE&gt;/ltn12.lua 78&lt;LDIR&gt;/ltn12.lua
79&lt;SHARE&gt;/socket.lua 79&lt;LDIR&gt;/socket.lua
80&lt;LIB&gt;/socket/core.dll 80&lt;CDIR&gt;/socket/core.dll
81&lt;SHARE&gt;/socket/http.lua 81&lt;LDIR&gt;/socket/http.lua
82&lt;SHARE&gt;/socket/tp.lua 82&lt;LDIR&gt;/socket/tp.lua
83&lt;SHARE&gt;/socket/ftp.lua 83&lt;LDIR&gt;/socket/ftp.lua
84&lt;SHARE&gt;/socket/smtp.lua 84&lt;LDIR&gt;/socket/smtp.lua
85&lt;SHARE&gt;/socket/url.lua 85&lt;LDIR&gt;/socket/url.lua
86&lt;SHARE&gt;/mime.lua 86&lt;LDIR&gt;/mime.lua
87&lt;LIB&gt;/mime/core.dll 87&lt;CDIR&gt;/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
96the interpreter to load the <tt>compat-5.1.lua</tt> module at startup: </p> 96the interpreter to load the <tt>compat-5.1.lua</tt> module at startup: </p>
97 97
98<pre class=example> 98<pre class=example>
99LUA_INIT=@&lt;SHARE&gt;/compat-5.1.lua 99LUA_INIT=@&lt;LDIR&gt;/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>
109LUA_PATH=&lt;SHARE&gt;/?.lua;?.lua 109LUA_PATH=&lt;LDIR&gt;/?.lua;?.lua
110LUA_CPATH=&lt;LIB&gt;/?.dll;?.dll 110LUA_CPATH=&lt;CDIR&gt;/?.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