aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2015-04-23 02:22:28 -0300
committerHisham Muhammad <hisham@gobolinux.org>2015-04-23 02:22:28 -0300
commit9736020715526c007388236d8916a6c2b23d9ad0 (patch)
treeaec7e2df21e73dc9a8ad539119bfe679357dcbc3
parent9aa5d054ee6f5aeecda979a11841ce82f16a0443 (diff)
downloadluarocks-9736020715526c007388236d8916a6c2b23d9ad0.tar.gz
luarocks-9736020715526c007388236d8916a6c2b23d9ad0.tar.bz2
luarocks-9736020715526c007388236d8916a6c2b23d9ad0.zip
Install .md files as docs
-rw-r--r--src/luarocks/build.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/build.lua b/src/luarocks/build.lua
index 977be344..68f20264 100644
--- a/src/luarocks/build.lua
+++ b/src/luarocks/build.lua
@@ -132,7 +132,7 @@ function build.apply_patches(rockspec)
132end 132end
133 133
134local function install_default_docs(name, version) 134local function install_default_docs(name, version)
135 local patterns = { "readme", "license", "copying" } 135 local patterns = { "readme", "license", "copying", ".*%.md" }
136 local dest = dir.path(path.install_dir(name, version), "doc") 136 local dest = dir.path(path.install_dir(name, version), "doc")
137 local has_dir = false 137 local has_dir = false
138 for file in fs.dir() do 138 for file in fs.dir() do