Move config to share/; copy share/ when installing via OPAM

This commit is contained in:
Stavros Polymenis 2017-11-01 00:31:30 +00:00
parent 2f9cebccc2
commit 39b68e947d
2 changed files with 11 additions and 0 deletions

View File

@ -11,3 +11,14 @@
(public_name logarion_webserver)
(modules logarion_webserver)
(libraries (logarion logarion.confix logarion.converters lwt.unix opium uri re.str tyxml))))
(install
((section share)
(files (
(../share/config.toml as config.toml)
(../share/html_templates/frontpage.mustache as html_templates/frontpage.mustache)
(../share/html_templates/header.mustache as html_templates/header.mustache)
(../share/html_templates/item.mustache as html_templates/item.mustache)
(../share/html_templates/list.mustache as html_templates/list.mustache)
(../share/html_templates/note.mustache as html_templates/note.mustache)
))))