]> git.lizzy.rs Git - luairc.git/commitdiff
split some variables out into Make.config
authorjluehrs2 <jluehrs2@uiuc.edu>
Wed, 5 Sep 2007 14:00:09 +0000 (09:00 -0500)
committerjluehrs2 <jluehrs2@uiuc.edu>
Wed, 5 Sep 2007 14:00:09 +0000 (09:00 -0500)
Make.config [new file with mode: 0644]
Makefile

diff --git a/Make.config b/Make.config
new file mode 100644 (file)
index 0000000..da14798
--- /dev/null
@@ -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
index 3474efabbd416b134a60546cb4e3bf7fdce35018..2f85d415a5664000392fedc2d9ce7905561d580d 100644 (file)
--- 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