aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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