diff --git a/Makefile b/Makefile
index f811a90..df9d59a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,13 @@
-# $Id: Makefile,v 1.2 2004/07/29 14:26:33 tomas Exp $
+# $Id: Makefile,v 1.3 2004/07/29 16:47:11 tomas Exp $
T= lfs
include ./config
V= 1.0a
+DIST_DIR= luafilesystem-$V
+TAR_FILE= $(DIST_DIR).tar.gz
+ZIP_FILE= $(DIST_DIR).zip
LIBNAME= lib$T.$V$(LIB_EXT)
L= $T.lua
TL= t_$T.lua
@@ -32,4 +35,7 @@ clean:
dist:
mkdir -p $(DIST_DIR)
- cp config $(SRCS) $T.h $(TL) Makefile $(DIST_DIR)
+ cp config $(SRCS) $T.h $T.def $(TL) Makefile *html $(DIST_DIR)
+ tar -czf $(TAR_FILE) $(DIST_DIR)
+ zip -rq $(ZIP_FILE) $(DIST_DIR)/*
+ 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.
LuaFileSystem offers the following functions:
- - luafilesystem.chdir (path)
+ - lfs.chdir (path)
Changes the current
working directory to the given path.
- - luafilesystem.currentdir ()
+ - lfs.currentdir ()
Returns the current
working directory or nil plus an error string.
- - luafilesystem.dir (path)
+ - lfs.dir (path)
Lua iterator over the entries
of a given directory.
- - luafilesystem.lock (filehandle, mode[, start[, length]])
+ - lfs.lock (filehandle, mode[, start[, length]])
Locks a file or a part of it.
This function works on open files;
the file handle should be specified as the first argument.
@@ -84,12 +84,12 @@ LuaFileSystem offers the following functions:
error.
- - luafilesystem.mkdir (dirname)
+ - lfs.mkdir (dirname)
Creates a new directory.
The argument is the name of the new directory.
- - luafilesystem.unlock (filehandle[, start[, length]])
+ - lfs.unlock (filehandle[, start[, length]])
Unlocks a file or a part of it.
This function works on open files;
the file handle should be specified as the first argument.
@@ -137,7 +137,7 @@ LuaFileSystem offers the following functions:
-$Id: manual.html,v 1.1 2004/07/27 14:15:24 tomas Exp $
+$Id: manual.html,v 1.2 2004/07/29 16:47:11 tomas Exp $