Inclusao de regra de instalacao.

This commit is contained in:
Tomas Guisasola 2004-11-09 07:44:25 +00:00
parent b4f67ccfea
commit 41f1c8ef5a

View File

@ -1,3 +1,4 @@
LUA_DIR= /usr/local/share/lua/5.0
VERSION= 1.0a VERSION= 1.0a
PKG= luaxmlrpc-$(VERSION) PKG= luaxmlrpc-$(VERSION)
DIST_DIR= $(PKG) DIST_DIR= $(PKG)
@ -16,5 +17,9 @@ dist_dir:
mkdir $(DIST_DIR) mkdir $(DIST_DIR)
cp $(SRCS) $(DIST_DIR) cp $(SRCS) $(DIST_DIR)
install:
mkdir -p $(LUA_DIR)/xmlrpc
cp xmlrpc.lua http.lua cgi.lua $(LUA_DIR)/xmlrpc
clean: clean:
rm $(TAR_FILE) $(ZIP_FILE) rm $(TAR_FILE) $(ZIP_FILE)