diff options
| author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2003-03-28 23:29:45 +0000 |
|---|---|---|
| committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2003-03-28 23:29:45 +0000 |
| commit | c1ef3e7103cc652d2004ef1ddc9409b946207f33 (patch) | |
| tree | 56462562cf1769ccf079c2f5265e05db3a628a83 /makefile.dist | |
| parent | 4755ad727e36f2c3ad644718a2d477fffa9b1d23 (diff) | |
| download | luasocket-c1ef3e7103cc652d2004ef1ddc9409b946207f33.tar.gz luasocket-c1ef3e7103cc652d2004ef1ddc9409b946207f33.tar.bz2 luasocket-c1ef3e7103cc652d2004ef1ddc9409b946207f33.zip | |
Released luasocket-1.5-work!
Diffstat (limited to 'makefile.dist')
| -rw-r--r-- | makefile.dist | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/makefile.dist b/makefile.dist index 2154eb9..90ef7c2 100644 --- a/makefile.dist +++ b/makefile.dist | |||
| @@ -2,31 +2,32 @@ | |||
| 2 | # Distribution makefile | 2 | # Distribution makefile |
| 3 | #-------------------------------------------------------------------------- | 3 | #-------------------------------------------------------------------------- |
| 4 | 4 | ||
| 5 | DIST = luasocket-1.4 | 5 | DIST = luasocket-1.5-work |
| 6 | 6 | ||
| 7 | SRC = ~diego/tec/luasocket | 7 | LUA = concat.lua code.lua url.lua http.lua smtp.lua ftp.lua lsselect.lua \ |
| 8 | cl-compat.lua | ||
| 9 | |||
| 10 | TESTS = testclnt.lua testsrvr.lua testcmd.lua codetest.lua \ | ||
| 11 | urltest.lua concattest.lua | ||
| 12 | |||
| 13 | EXAMPLES = check-links.lua daytimeclnt.lua dict.lua echoclnt.lua \ | ||
| 14 | echosrvr.lua get.lua listener.lua talker.lua tinyirc.lua tftpclnt.lua | ||
| 8 | 15 | ||
| 9 | dist: | 16 | dist: |
| 10 | mkdir -p $(DIST)/lua | ||
| 11 | mkdir -p $(DIST)/examples | 17 | mkdir -p $(DIST)/examples |
| 12 | mkdir -p $(DIST)/html | 18 | mkdir -p $(DIST)/tests |
| 13 | mkdir -p $(DIST)/test | ||
| 14 | cp -vf *.c $(DIST) | 19 | cp -vf *.c $(DIST) |
| 15 | cp -vf *.h $(DIST) | 20 | cp -vf *.h $(DIST) |
| 21 | cp -vf $(LUA) $(DIST) | ||
| 16 | cp -vf makefile $(DIST) | 22 | cp -vf makefile $(DIST) |
| 17 | cp -vf README $(DIST) | 23 | cp -vf README $(DIST) |
| 18 | cp -vf lua/*.lua $(DIST)/lua | 24 | cp -vf $(EXAMPLES) $(DIST)/examples |
| 19 | cp -vf lua/README $(DIST)/lua | 25 | cp -vf README.examples $(DIST)/examples/README |
| 20 | cp -vf examples/*.lua $(DIST)/examples | 26 | cp -vf $(TESTS) $(DIST)/tests |
| 21 | cp -vf examples/README $(DIST)/examples | 27 | cp -vf README.tests $(DIST)/tests/README |
| 22 | cp -vf html/*.html $(DIST)/html | ||
| 23 | cp -vf html/*.png $(DIST)/html | ||
| 24 | cp -vf test/testclnt.lua $(DIST)/test | ||
| 25 | cp -vf test/testsrvr.lua $(DIST)/test | ||
| 26 | cp -vf test/testcmd.lua $(DIST)/test | ||
| 27 | cp -vf test/codetest.lua $(DIST)/test | ||
| 28 | cp -vf test/concattest.lua $(DIST)/test | ||
| 29 | cp -vf test/urltest.lua $(DIST)/test | ||
| 30 | cp -vf test/README $(DIST)/test | ||
| 31 | tar -zcvf $(DIST).tar.gz $(DIST) | 28 | tar -zcvf $(DIST).tar.gz $(DIST) |
| 32 | zip -r $(DIST).zip $(DIST) | 29 | zip -r $(DIST).zip $(DIST) |
| 30 | |||
| 31 | |||
| 32 | clean: | ||
| 33 | \rm -rf $(DIST) $(DIST).tar.gz $(DIST).zip | ||
