aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjluehrs2 <jluehrs2@uiuc.edu>2007-09-05 09:00:09 -0500
committerjluehrs2 <jluehrs2@uiuc.edu>2007-09-05 09:00:09 -0500
commit2bac40a8a66f493a493b327e570ff4924956b11b (patch)
treed87b7a5781a4ea719bde215550c0fae75d5716e1
parent48562a3fb878e8184ebf62c5429ff31a79a7352d (diff)
downloadluairc-2bac40a8a66f493a493b327e570ff4924956b11b.tar.gz
luairc-2bac40a8a66f493a493b327e570ff4924956b11b.zip
split some variables out into Make.config
-rw-r--r--Make.config6
-rw-r--r--Makefile4
2 files changed, 8 insertions, 2 deletions
diff --git a/Make.config b/Make.config
new file mode 100644
index 0000000..da14798
--- /dev/null
+++ b/Make.config
@@ -0,0 +1,6 @@
+# Path to your Lua library directory (LUA_PATH)
+LUA_DIR = /usr/local/share/lua/5.1
+
+# Set this to the path of your luadoc executable if you want to regenerate the
+# documentation and the luadoc script isn't in your PATH
+LUADOC = luadoc
diff --git a/Makefile b/Makefile
index 3474efa..2f85d41 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-LUADOC = luadoc
-LUA_DIR = /usr/local/share/lua/5.1
+include Make.config
+
MOD_DIR = $(LUA_DIR)/irc
DOC_DIR = doc
MAIN_LUA = src/irc.lua