Skip to content
Snippets Groups Projects
Commit e5797340 authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Install license file into docdir rather than datadir

parent 790115bc
No related merge requests found
......@@ -98,6 +98,7 @@ install pkg_descr lbi (CopyFlags copydest verbosity) = do
dynlibdir = dynlibPref,
datadir = dataPref,
progdir = progPref,
docdir = docPref,
htmldir = htmlPref,
includedir = incPref
} = absoluteInstallDirs pkg_descr lbi copydest
......@@ -120,8 +121,8 @@ install pkg_descr lbi (CopyFlags copydest verbosity) = do
let lfile = licenseFile pkg_descr
unless (null lfile) $ do
createDirectoryIfMissingVerbose verbosity True dataPref
copyFileVerbose verbosity lfile (dataPref </> lfile)
createDirectoryIfMissingVerbose verbosity True docPref
copyFileVerbose verbosity lfile (docPref </> lfile)
let buildPref = buildDir lbi
setupMessage verbosity ("Installing: " ++ libPref ++ " & " ++ binPref) pkg_descr
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment