Correcao no "make clean" e atualizacao do README.

This commit is contained in:
tomas 2003-05-05 10:06:34 +00:00
parent 095df96c20
commit ad01f2b0e4
2 changed files with 12 additions and 9 deletions

View File

@ -27,6 +27,9 @@ PG_SO= libluasqlpostgres.2.0.so
PG_DYLIB= libluasqlpostgres.2.0.dylib PG_DYLIB= libluasqlpostgres.2.0.dylib
ODBC_DLL= luasqlodbc.2.0.dll ODBC_DLL= luasqlodbc.2.0.dll
dist:
cd ..; tar -czf luasql-2.0.tar.gz $(SRCS)
pglinux: $(PG_LIB) $(PG_SO) pglinux: $(PG_LIB) $(PG_SO)
sed "s/LIB_NAME/$(PG_SO)/" postgres.tmpl > postgres.lua sed "s/LIB_NAME/$(PG_SO)/" postgres.tmpl > postgres.lua
@ -36,9 +39,6 @@ pgmac: $(PG_LIB) $(PG_DYLIB)
odbcwin: odbcwin:
sed "s/LIB_NAME/$(ODBC_DLL)/" odbc.tmpl > odbc.lua sed "s/LIB_NAME/$(ODBC_DLL)/" odbc.tmpl > odbc.lua
dist:
cd ..; tar -czf luasql-2.0.tar.gz $(SRCS)
$(PG_LIB): $(LS_OBJ) $(PG_OBJ) $(PG_LIB): $(LS_OBJ) $(PG_OBJ)
$(AR) $@ $(LS_OBJ) $(PG_OBJ) $(AR) $@ $(LS_OBJ) $(PG_OBJ)
$(RANLIB) $@ $(RANLIB) $@
@ -50,4 +50,4 @@ $(PG_DYLIB): $(LS_OBJ) $(PG_OBJ)
gcc -o $@ -dynamiclib $(LS_OBJ) $(PG_OBJ) $(LIBS_DIR) $(LIBS) gcc -o $@ -dynamiclib $(LS_OBJ) $(PG_OBJ) $(LIBS_DIR) $(LIBS)
clean: clean:
rm -f $(LS_OBJ) $(ODBC_OBJ) $(PG_OBJ) $(PG_LIB) $(ODBC_LIB) $(PG_DYLIB) rm -f $(LS_OBJ) $(ODBC_OBJ) $(PG_OBJ) $(PG_LIB) $(ODBC_LIB) $(PG_DYLIB) postgres.lua odbc.lua

13
README
View File

@ -3,19 +3,22 @@ functionality available in any database manager.
Here goes a small description of the files in the distribution Here goes a small description of the files in the distribution
index.html -- Home page
ls_odbc.c -- ODBC driver (source) ls_odbc.c -- ODBC driver (source)
ls_odbc.def -- ODBC driver (.def)
ls_odbc.h -- ODBC driver (header) ls_odbc.h -- ODBC driver (header)
ls_pg.c -- PostgreSQL driver (source) ls_pg.c -- PostgreSQL driver (source)
ls_pg.def -- PostgreSQL driver (.def)
ls_pg.h -- PostgreSQL driver (header) ls_pg.h -- PostgreSQL driver (header)
lua.png -- Lua Logo lua.png -- Lua Logo
luasql.c -- Common functions luasql.c -- Common functions
luasql.h -- Common definitions luasql.h -- Common definitions
Makefile -- Makefile for Unix systems Makefile -- Makefile for Unix systems
manual.html -- API manual manual.html -- Reference manual
odbc.lua -- ODBC driver (lua) odbc.tmpl -- ODBC loader template (.lua)
performance.lua -- Performance test script performance.lua -- Performance test script
postgres.lua -- PostgreSQL driver (lua) postgres.tmpl -- PostgreSQL loader template (.lua)
README -- This file README -- This file
test.lua -- API test script test.lua -- Overall API test script
$Id: README,v 1.2 2003/04/07 13:41:29 tomas Exp $ $Id: README,v 1.3 2003/05/05 10:06:34 tomas Exp $