2003-12-02 15:11:02 +00:00
|
|
|
VERSION= 1.0a
|
|
|
|
PKG= luaxmlrpc-$(VERSION)
|
2004-11-08 16:10:15 +00:00
|
|
|
DIST_DIR= $(PKG)
|
2003-12-02 15:11:02 +00:00
|
|
|
TAR_FILE= $(PKG).tar.gz
|
|
|
|
ZIP_FILE= $(PKG).zip
|
|
|
|
SRCS= README Makefile \
|
2004-03-24 19:02:40 +00:00
|
|
|
xmlrpc.lua http.lua cgi.lua test.lua \
|
2004-01-02 17:45:20 +00:00
|
|
|
index.html manual.html license.html luaxmlrpc.png
|
2003-12-02 15:11:02 +00:00
|
|
|
|
2004-11-08 16:10:15 +00:00
|
|
|
dist: dist_dir
|
|
|
|
tar -czf $(TAR_FILE) $(DIST_DIR)
|
|
|
|
zip -lq $(ZIP_FILE) $(DIST_DIR)/*
|
|
|
|
rm -rf $(DIST_DIR)
|
|
|
|
|
|
|
|
dist_dir:
|
|
|
|
mkdir $(DIST_DIR)
|
|
|
|
cp $(SRCS) $(DIST_DIR)
|
2003-12-02 15:11:02 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm $(TAR_FILE) $(ZIP_FILE)
|