From 35dd3254f9c650610add13ecede97fcc505a00b8 Mon Sep 17 00:00:00 2001 From: jluehrs2 Date: Sun, 2 Sep 2007 15:17:48 -0500 Subject: add the Makefile --- Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..31d6d3a --- /dev/null +++ b/Makefile @@ -0,0 +1,27 @@ +LUADOC = luadoc +LUA_DIR = /usr/local/share/lua/5.1 +MOD_DIR = $(LUA_DIR)/irc +DOC_DIR = doc +MAIN_LUA = src/irc.lua +MOD_LUAS = src/irc/channel.lua \ + src/irc/constants.lua \ + src/irc/ctcp.lua \ + src/irc/dcc.lua \ + src/irc/debug.lua \ + src/irc/message.lua \ + src/irc/misc.lua + +build : + +install : + mkdir -p $(LUA_DIR) + cp $(MAIN_LUA) $(LUA_DIR) + mkdir -p $(MOD_DIR) + cp $(MOD_LUAS) $(MOD_DIR) + +doc : $(MAIN_LUA) $(MOD_LUAS) + mkdir -p $(DOC_DIR) + $(LUADOC) --nofiles -d $(DOC_DIR) $(MAIN_LUA) $(MOD_LUAS) + +clean : + rm -rf $(DOC_DIR) -- cgit v1.2.3-54-g00ecf