18 lines
350 B
Makefile
Executable File
18 lines
350 B
Makefile
Executable File
VERSION= 1.0a
|
|
PKG= luaxmlrpc-$(VERSION)
|
|
TAR_FILE= $(PKG).tar.gz
|
|
ZIP_FILE= $(PKG).zip
|
|
SRCS= README Makefile \
|
|
xmlrpc.lua http.lua cgi.lua test.lua \
|
|
index.html manual.html license.html luaxmlrpc.png
|
|
|
|
dist:
|
|
mkdir $(PKG)
|
|
cp $(SRCS) $(PKG)
|
|
tar -czf $(TAR_FILE) $(PKG)
|
|
zip -lq $(ZIP_FILE) $(PKG)/*
|
|
rm -rf $(PKG)
|
|
|
|
clean:
|
|
rm $(TAR_FILE) $(ZIP_FILE)
|