diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2014-01-13 10:00:40 -0800 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2014-01-13 10:00:40 -0800 |
commit | c58ba1dfb5e63c810e56565b3d8abc6bce637126 (patch) | |
tree | 4f3d6caf4443d9c1e700d9536758d6a227800b42 | |
parent | 77f68c79217cea4e5244d3403fc089e3d8dabd82 (diff) | |
parent | e867e189e73abfd6f5f83995094badd9ddea863d (diff) | |
download | luarocks-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.bat | 7 | ||||
-rw-r--r-- | src/luarocks/fs/win32/tools.lua | 2 |
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 | |||
18 | vars.LUA_LIBNAME = nil | 18 | vars.LUA_LIBNAME = nil |
19 | vars.LUA_VERSION = "5.1" | 19 | vars.LUA_VERSION = "5.1" |
20 | vars.LUA_SHORTV = nil -- "51" | 20 | vars.LUA_SHORTV = nil -- "51" |
21 | vars.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. | ||
24 | vars.LUA_LIB_NAMES = "lua5.1.lib lua51.lib lua5.1.dll lua51.dll liblua.dll.a" | ||
22 | vars.LUA_RUNTIME = nil | 25 | vars.LUA_RUNTIME = nil |
23 | vars.UNAME_M = nil | 26 | vars.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) | |||
364 | end | 364 | end |
365 | 365 | ||
366 | function browser(url) | 366 | function browser(url) |
367 | return fs.execute(cfg.web_browser.." "..url) | 367 | return fs.execute(cfg.web_browser..' "Starting docs..." '..fs.Q(url)) |
368 | end | 368 | end |