blob: 2154eb9e1148ce3e36a85fb5d6d5969657a6f46f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#--------------------------------------------------------------------------
# Distribution makefile
#--------------------------------------------------------------------------
DIST = luasocket-1.4
SRC = ~diego/tec/luasocket
dist:
mkdir -p $(DIST)/lua
mkdir -p $(DIST)/examples
mkdir -p $(DIST)/html
mkdir -p $(DIST)/test
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
cp -vf html/*.html $(DIST)/html
cp -vf html/*.png $(DIST)/html
cp -vf test/testclnt.lua $(DIST)/test
cp -vf test/testsrvr.lua $(DIST)/test
cp -vf test/testcmd.lua $(DIST)/test
cp -vf test/codetest.lua $(DIST)/test
cp -vf test/concattest.lua $(DIST)/test
cp -vf test/urltest.lua $(DIST)/test
cp -vf test/README $(DIST)/test
tar -zcvf $(DIST).tar.gz $(DIST)
zip -r $(DIST).zip $(DIST)
|