luasocket/makefile.dist

34 lines
968 B
Plaintext
Raw Normal View History

2000-12-29 23:15:09 +01:00
#--------------------------------------------------------------------------
# Distribution makefile
2000-12-29 23:15:09 +01:00
#--------------------------------------------------------------------------
2003-03-29 00:29:45 +01:00
DIST = luasocket-1.5-work
2000-12-29 23:15:09 +01:00
2003-03-29 00:29:45 +01:00
LUA = concat.lua code.lua url.lua http.lua smtp.lua ftp.lua lsselect.lua \
cl-compat.lua
TESTS = testclnt.lua testsrvr.lua testcmd.lua codetest.lua \
urltest.lua concattest.lua
EXAMPLES = check-links.lua daytimeclnt.lua dict.lua echoclnt.lua \
echosrvr.lua get.lua listener.lua talker.lua tinyirc.lua tftpclnt.lua
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
2000-12-29 23:15:09 +01:00
cp -vf *.c $(DIST)
cp -vf *.h $(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-03-29 00:29:45 +01:00
cp -vf $(EXAMPLES) $(DIST)/examples
cp -vf README.examples $(DIST)/examples/README
cp -vf $(TESTS) $(DIST)/tests
cp -vf README.tests $(DIST)/tests/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