luasocket/makefile.dist

128 lines
2.1 KiB
Plaintext
Raw Normal View History

2000-12-29 23:15:09 +01:00
#--------------------------------------------------------------------------
# Distribution makefile
2000-12-29 23:15:09 +01:00
#--------------------------------------------------------------------------
DIST = luasocket-2.0-beta3
2000-12-29 23:15:09 +01:00
LUA = \
2003-06-30 20:53:10 +02:00
ftp.lua \
http.lua \
2004-06-17 23:46:22 +02:00
ltn12.lua \
mime.lua \
2003-06-30 20:53:10 +02:00
smtp.lua \
2004-06-17 23:46:22 +02:00
socket.lua \
tp.lua \
2003-06-30 20:53:10 +02:00
url.lua
2003-03-29 00:29:45 +01:00
TESTS = \
2003-06-30 20:53:10 +02:00
testclnt.lua \
testsrvr.lua \
2004-06-17 23:46:22 +02:00
testsupport.lua
2003-03-29 00:29:45 +01:00
EXAMPLES = \
2004-06-17 23:46:22 +02:00
check-memory.lua \
b64.lua \
cddb.lua \
2003-06-30 20:53:10 +02:00
daytimeclnt.lua \
echoclnt.lua \
echosrvr.lua \
2004-06-17 23:46:22 +02:00
eol.lua \
2003-06-30 20:53:10 +02:00
listener.lua \
2004-06-17 23:46:22 +02:00
qp.lua \
2004-07-03 01:31:32 +02:00
lpr.lua \
2003-06-30 20:53:10 +02:00
talker.lua \
tinyirc.lua
ETC = \
2003-06-30 20:53:10 +02:00
check-links.lua \
2004-06-17 23:46:22 +02:00
dict.lua \
2003-06-30 20:53:10 +02:00
get.lua \
lua.lua \
2004-07-03 01:31:32 +02:00
unix.c \
unix.h \
lp.lua \
2004-06-17 23:46:22 +02:00
tftp.lua
2004-06-17 23:46:22 +02:00
CORE = \
auxiliar.c \
auxiliar.h \
buffer.c \
buffer.h \
2004-06-17 23:46:22 +02:00
except.c \
except.h \
inet.c \
inet.h \
io.c \
io.h \
luasocket.c \
luasocket.h \
2004-06-17 23:46:22 +02:00
mime.c \
mime.h \
options.c \
options.h \
select.c \
select.h \
socket.h \
tcp.c \
tcp.h \
timeout.c \
timeout.h \
udp.c \
udp.h \
usocket.c \
usocket.h \
wsocket.c \
2003-06-30 20:53:10 +02:00
wsocket.h
2000-12-29 23:15:09 +01:00
2004-06-17 23:46:22 +02:00
MAKE = \
makefile.Darwin \
makefile.Linux \
luasocket.sln \
luasocket.vcproj \
mime.vcproj
MANUAL = \
manual/dns.html \
manual/ftp.html \
manual/home.html \
manual/http.html \
manual/introduction.html \
manual/ltn12.html \
manual/luasocket.png \
manual/mime.html \
manual/reference.css \
manual/reference.html \
manual/smtp.html \
manual/socket.html \
manual/tcp.html \
manual/udp.html \
manual/url.html
2000-12-29 23:15:09 +01:00
dist:
mkdir -p $(DIST)/examples
2003-03-29 00:29:45 +01:00
mkdir -p $(DIST)/tests
mkdir -p $(DIST)/etc
2004-06-17 23:46:22 +02:00
mkdir -p $(DIST)/lua
mkdir -p $(DIST)/manual
2004-07-03 01:31:32 +02:00
cp -vf TODO $(DIST)
2004-06-17 23:46:22 +02:00
cp -vf $(CORE) $(DIST)
2000-12-29 23:15:09 +01:00
cp -vf README $(DIST)
2003-06-30 20:53:10 +02:00
cp -vf NEW $(DIST)
2004-06-17 23:46:22 +02:00
cp -vf LICENSE $(DIST)
2004-06-18 23:41:44 +02:00
cp -vf $(MAKE) $(DIST)
cp -vf make.README $(DIST)/INSTALL
2004-06-17 23:46:22 +02:00
cp -vf $(LUA) $(DIST)/lua
cp -vf lua.README $(DIST)/lua/README
2003-03-29 00:29:45 +01:00
cp -vf $(EXAMPLES) $(DIST)/examples
2003-06-30 20:53:10 +02:00
cp -vf examples.README $(DIST)/examples/README
2003-03-29 00:29:45 +01:00
cp -vf $(TESTS) $(DIST)/tests
2003-06-30 20:53:10 +02:00
cp -vf tests.README $(DIST)/tests/README
cp -vf $(ETC) $(DIST)/etc
2003-06-30 20:53:10 +02:00
cp -vf etc.README $(DIST)/etc/README
2004-06-17 23:46:22 +02:00
cp -vf $(MANUAL) $(DIST)/manual
2000-12-29 23:15:09 +01:00
tar -zcvf $(DIST).tar.gz $(DIST)
zip -r $(DIST).zip $(DIST)
2003-03-29 00:29:45 +01:00
clean:
\rm -rf $(DIST) $(DIST).tar.gz $(DIST).zip