From c899c9b2e24401671695b614e88e11886942ad51 Mon Sep 17 00:00:00 2001 From: tomas Date: Thu, 29 Jul 2004 16:47:11 +0000 Subject: Regra que cria a distribuicao (Makefile). Troca de nome da biblioteca (lfs). --- Makefile | 10 ++++++++-- doc/us/manual.html | 14 +++++++------- 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 @@ -# $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: