luasocket/makefile.dist

97 lines
1.5 KiB
Plaintext
Raw Normal View History

2000-12-29 23:15:09 +01:00
#--------------------------------------------------------------------------
# Distribution makefile
2000-12-29 23:15:09 +01:00
#--------------------------------------------------------------------------
2003-06-30 08:10:02 +02:00
DIST = luasocket-2.0-alpha
2000-12-29 23:15:09 +01:00
LUA = \
2003-06-30 20:53:10 +02:00
auxiliar.lua \
code.lua \
concat.lua \
ftp.lua \
http.lua \
select.lua \
smtp.lua \
url.lua
2003-03-29 00:29:45 +01:00
TESTS = \
2003-06-30 20:53:10 +02:00
codetest.lua \
concattest.lua \
ftptest.lua \
mbox.lua \
httptest.lua \
noglobals.lua \
smtptest.lua \
testclnt.lua \
testsrvr.lua \
udptest.lua \
urltest.lua
2003-03-29 00:29:45 +01:00
EXAMPLES = \
2003-06-30 20:53:10 +02:00
daytimeclnt.lua \
echoclnt.lua \
echosrvr.lua \
dict.lua \
listener.lua \
talker.lua \
tinyirc.lua
ETC = \
2003-06-30 20:53:10 +02:00
check-links.lua \
cl-compat.lua \
get.lua \
lua.lua \
luasocket.lua \
tftp.lua \
2003-06-30 08:10:02 +02:00
MAIN = \
auxiliar.c \
auxiliar.h \
buffer.c \
buffer.h \
error.c \
error.h \
inet.c \
inet.h \
io.c \
io.h \
luasocket.c \
luasocket.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
dist:
mkdir -p $(DIST)/examples
2003-03-29 00:29:45 +01:00
mkdir -p $(DIST)/tests
mkdir -p $(DIST)/etc
cp -vf $(MAIN) $(DIST)
2003-03-29 00:29:45 +01:00
cp -vf $(LUA) $(DIST)
2000-12-29 23:15:09 +01:00
cp -vf makefile $(DIST)
cp -vf README $(DIST)
2003-06-30 20:53:10 +02:00
cp -vf lua.README $(DIST)
cp -vf NEW $(DIST)
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
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