From 39b68e947d30be9cc33fc90f0bbdf8846efbe222 Mon Sep 17 00:00:00 2001 From: Stavros Polymenis Date: Wed, 1 Nov 2017 00:31:30 +0000 Subject: [PATCH] Move config to share/; copy share/ when installing via OPAM --- config.toml => share/config.toml | 0 src/jbuild | 11 +++++++++++ 2 files changed, 11 insertions(+) rename config.toml => share/config.toml (100%) diff --git a/config.toml b/share/config.toml similarity index 100% rename from config.toml rename to share/config.toml diff --git a/src/jbuild b/src/jbuild index 3bf06ce..75b360f 100644 --- a/src/jbuild +++ b/src/jbuild @@ -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) +)))) \ No newline at end of file