aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2014-01-13 10:00:40 -0800
committerHisham Muhammad <hisham@gobolinux.org>2014-01-13 10:00:40 -0800
commitc58ba1dfb5e63c810e56565b3d8abc6bce637126 (patch)
tree4f3d6caf4443d9c1e700d9536758d6a227800b42
parent77f68c79217cea4e5244d3403fc089e3d8dabd82 (diff)
parente867e189e73abfd6f5f83995094badd9ddea863d (diff)
downloadluarocks-c58ba1dfb5e63c810e56565b3d8abc6bce637126.tar.gz
luarocks-c58ba1dfb5e63c810e56565b3d8abc6bce637126.tar.bz2
luarocks-c58ba1dfb5e63c810e56565b3d8abc6bce637126.zip
Merge pull request #222 from Tieske/fic_doc
Fix doc on windows
-rw-r--r--install.bat7
-rw-r--r--src/luarocks/fs/win32/tools.lua2
2 files changed, 6 insertions, 3 deletions
diff --git a/install.bat b/install.bat
index dfd94317..a17aff89 100644
--- a/install.bat
+++ b/install.bat
@@ -18,7 +18,10 @@ vars.LUA_LIBDIR = nil
18vars.LUA_LIBNAME = nil 18vars.LUA_LIBNAME = nil
19vars.LUA_VERSION = "5.1" 19vars.LUA_VERSION = "5.1"
20vars.LUA_SHORTV = nil -- "51" 20vars.LUA_SHORTV = nil -- "51"
21vars.LUA_LIB_NAMES = "lua5.1.lib lua51.dll liblua.dll.a" 21-- MinGW does not generate .lib, nor needs it to link, but MSVC does
22-- so .lib must be listed first to ensure they are found first if present.
23-- To prevent MSVC trying to link to a .dll, which won't work.
24vars.LUA_LIB_NAMES = "lua5.1.lib lua51.lib lua5.1.dll lua51.dll liblua.dll.a"
22vars.LUA_RUNTIME = nil 25vars.LUA_RUNTIME = nil
23vars.UNAME_M = nil 26vars.UNAME_M = nil
24 27
@@ -147,7 +150,7 @@ Configuring the Lua interpreter:
147 /LIB, and /BIN options. 150 /LIB, and /BIN options.
148/INC [dir] Location of Lua includes - e.g. c:\lua\5.1\include 151/INC [dir] Location of Lua includes - e.g. c:\lua\5.1\include
149 If provided overrides sub directory found using /LUA. 152 If provided overrides sub directory found using /LUA.
150/LIB [dir] Location of Lua libraries (.dll) - e.g. c:\lua\5.1\lib 153/LIB [dir] Location of Lua libraries (.dll/.lib) - e.g. c:\lua\5.1\lib
151 If provided overrides sub directory found using /LUA. 154 If provided overrides sub directory found using /LUA.
152/BIN [dir] Location of Lua executables - e.g. c:\lua\5.1\bin 155/BIN [dir] Location of Lua executables - e.g. c:\lua\5.1\bin
153 If provided overrides sub directory found using /LUA. 156 If provided overrides sub directory found using /LUA.
diff --git a/src/luarocks/fs/win32/tools.lua b/src/luarocks/fs/win32/tools.lua
index 24197f47..319a6724 100644
--- a/src/luarocks/fs/win32/tools.lua
+++ b/src/luarocks/fs/win32/tools.lua
@@ -364,5 +364,5 @@ function exists(file)
364end 364end
365 365
366function browser(url) 366function browser(url)
367 return fs.execute(cfg.web_browser.." "..url) 367 return fs.execute(cfg.web_browser..' "Starting docs..." '..fs.Q(url))
368end 368end