diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2015-04-23 02:22:28 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-04-23 02:22:28 -0300 |
commit | 9736020715526c007388236d8916a6c2b23d9ad0 (patch) | |
tree | aec7e2df21e73dc9a8ad539119bfe679357dcbc3 | |
parent | 9aa5d054ee6f5aeecda979a11841ce82f16a0443 (diff) | |
download | luarocks-9736020715526c007388236d8916a6c2b23d9ad0.tar.gz luarocks-9736020715526c007388236d8916a6c2b23d9ad0.tar.bz2 luarocks-9736020715526c007388236d8916a6c2b23d9ad0.zip |
Install .md files as docs
-rw-r--r-- | src/luarocks/build.lua | 2 |
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) | |||
132 | end | 132 | end |
133 | 133 | ||
134 | local function install_default_docs(name, version) | 134 | local 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 |