diff options
-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 |