2000-12-29 23:15:09 +01:00
|
|
|
#--------------------------------------------------------------------------
|
2001-01-25 22:49:48 +01:00
|
|
|
# Distribution makefile
|
2000-12-29 23:15:09 +01:00
|
|
|
#--------------------------------------------------------------------------
|
|
|
|
|
2001-09-26 22:52:23 +02:00
|
|
|
DIST = luasocket-1.4
|
2000-12-29 23:15:09 +01:00
|
|
|
|
|
|
|
SRC = ~diego/tec/luasocket
|
|
|
|
|
|
|
|
dist:
|
|
|
|
mkdir -p $(DIST)/lua
|
|
|
|
mkdir -p $(DIST)/examples
|
|
|
|
mkdir -p $(DIST)/html
|
2001-01-25 22:49:48 +01:00
|
|
|
mkdir -p $(DIST)/test
|
2000-12-29 23:15:09 +01:00
|
|
|
cp -vf *.c $(DIST)
|
|
|
|
cp -vf *.h $(DIST)
|
|
|
|
cp -vf makefile $(DIST)
|
|
|
|
cp -vf README $(DIST)
|
|
|
|
cp -vf lua/*.lua $(DIST)/lua
|
|
|
|
cp -vf lua/README $(DIST)/lua
|
|
|
|
cp -vf examples/*.lua $(DIST)/examples
|
|
|
|
cp -vf examples/README $(DIST)/examples
|
2001-09-26 22:52:23 +02:00
|
|
|
cp -vf html/*.html $(DIST)/html
|
|
|
|
cp -vf html/*.png $(DIST)/html
|
2001-01-25 22:49:48 +01:00
|
|
|
cp -vf test/testclnt.lua $(DIST)/test
|
|
|
|
cp -vf test/testsrvr.lua $(DIST)/test
|
|
|
|
cp -vf test/testcmd.lua $(DIST)/test
|
2001-09-26 22:52:23 +02:00
|
|
|
cp -vf test/codetest.lua $(DIST)/test
|
|
|
|
cp -vf test/concattest.lua $(DIST)/test
|
|
|
|
cp -vf test/urltest.lua $(DIST)/test
|
2001-01-25 22:49:48 +01:00
|
|
|
cp -vf test/README $(DIST)/test
|
2000-12-29 23:15:09 +01:00
|
|
|
tar -zcvf $(DIST).tar.gz $(DIST)
|
|
|
|
zip -r $(DIST).zip $(DIST)
|