aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile10
-rw-r--r--doc/us/manual.html14
2 files changed, 15 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index f811a90..df9d59a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,13 @@
1# $Id: Makefile,v 1.2 2004/07/29 14:26:33 tomas Exp $ 1# $Id: Makefile,v 1.3 2004/07/29 16:47:11 tomas Exp $
2 2
3T= lfs 3T= lfs
4 4
5include ./config 5include ./config
6 6
7V= 1.0a 7V= 1.0a
8DIST_DIR= luafilesystem-$V
9TAR_FILE= $(DIST_DIR).tar.gz
10ZIP_FILE= $(DIST_DIR).zip
8LIBNAME= lib$T.$V$(LIB_EXT) 11LIBNAME= lib$T.$V$(LIB_EXT)
9L= $T.lua 12L= $T.lua
10TL= t_$T.lua 13TL= t_$T.lua
@@ -32,4 +35,7 @@ clean:
32 35
33dist: 36dist:
34 mkdir -p $(DIST_DIR) 37 mkdir -p $(DIST_DIR)
35 cp config $(SRCS) $T.h $(TL) Makefile $(DIST_DIR) 38 cp config $(SRCS) $T.h $T.def $(TL) Makefile *html $(DIST_DIR)
39 tar -czf $(TAR_FILE) $(DIST_DIR)
40 zip -rq $(ZIP_FILE) $(DIST_DIR)/*
41 rm -rf $(DIST_DIR)
diff --git a/doc/us/manual.html b/doc/us/manual.html
index 374d033..2c40441 100644
--- a/doc/us/manual.html
+++ b/doc/us/manual.html
@@ -55,22 +55,22 @@ as Lua 5.0.
55LuaFileSystem offers the following functions: 55LuaFileSystem offers the following functions:
56<ul> 56<ul>
57 <a name="chdir"></a> 57 <a name="chdir"></a>
58 <li> <b><tt>luafilesystem.chdir (path)</tt></b> <br> 58 <li> <b><tt>lfs.chdir (path)</tt></b> <br>
59 Changes the current 59 Changes the current
60 working directory to the given <tt>path</tt>. 60 working directory to the given <tt>path</tt>.
61 61
62 <a name="getcwd"></a> 62 <a name="getcwd"></a>
63 <li> <b><tt>luafilesystem.currentdir ()</tt></b> <br> 63 <li> <b><tt>lfs.currentdir ()</tt></b> <br>
64 Returns the current 64 Returns the current
65 working directory or <code>nil</code> plus an error string. 65 working directory or <code>nil</code> plus an error string.
66 66
67 <a name="dir"></a> 67 <a name="dir"></a>
68 <li> <b><tt>luafilesystem.dir (path)</tt></b> <br> 68 <li> <b><tt>lfs.dir (path)</tt></b> <br>
69 Lua iterator over the entries 69 Lua iterator over the entries
70 of a given directory. 70 of a given directory.
71 71
72 <a name="lock"></a> 72 <a name="lock"></a>
73 <li> <b><tt>luafilesystem.lock (filehandle, mode[, start[, length]])</tt></b> <br> 73 <li> <b><tt>lfs.lock (filehandle, mode[, start[, length]])</tt></b> <br>
74 Locks a file or a part of it. 74 Locks a file or a part of it.
75 This function works on <em>open files</em>; 75 This function works on <em>open files</em>;
76 the file handle should be specified as the first argument. 76 the file handle should be specified as the first argument.
@@ -84,12 +84,12 @@ LuaFileSystem offers the following functions:
84 error. 84 error.
85 85
86 <a name="mkdir"></a> 86 <a name="mkdir"></a>
87 <li> <b><tt>luafilesystem.mkdir (dirname)</tt></b> <br> 87 <li> <b><tt>lfs.mkdir (dirname)</tt></b> <br>
88 Creates a new directory. 88 Creates a new directory.
89 The argument is the name of the new directory. 89 The argument is the name of the new directory.
90 90
91 <a name="unlock"></a> 91 <a name="unlock"></a>
92 <li> <b><tt>luafilesystem.unlock (filehandle[, start[, length]])</tt></b> <br> 92 <li> <b><tt>lfs.unlock (filehandle[, start[, length]])</tt></b> <br>
93 Unlocks a file or a part of it. 93 Unlocks a file or a part of it.
94 This function works on <em>open files</em>; 94 This function works on <em>open files</em>;
95 the file handle should be specified as the first argument. 95 the file handle should be specified as the first argument.
@@ -137,7 +137,7 @@ LuaFileSystem offers the following functions:
137 137
138<hr> 138<hr>
139<small> 139<small>
140$Id: manual.html,v 1.1 2004/07/27 14:15:24 tomas Exp $ 140$Id: manual.html,v 1.2 2004/07/29 16:47:11 tomas Exp $
141</small> 141</small>
142 142
143</body> 143</body>