From 1c10f38728a8848a20cde447051cf923f10cb06d Mon Sep 17 00:00:00 2001 From: "yakumo.izuru" Date: Thu, 19 Oct 2023 01:31:39 +0000 Subject: [PATCH] Update build system settings Signed-off-by: Izuru Yakumo git-svn-id: file:///srv/svn/repo/kosuzu/trunk@51 eb64cd80-c68d-6f47-b6a3-0ada418499da --- Makefile | 12 +++++------- dune-project | 2 ++ logarion.opam | 2 ++ 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 697017e..187ad29 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ OS=`uname -s` MACHINE=`uname -m` DATE=`date -r _build/default/cli/txt.exe +%Y%m%d` COMMIT=`git rev-parse --short HEAD` +PREFIX=/usr/local CC=cc LD=cc @@ -24,13 +25,10 @@ dist: strip txt.exe tar czvf "logarion-${OS}-${MACHINE}-${DATE}-${COMMIT}" txt.exe readme.txt rm txt.exe +install: + dune install --prefix ${PREFIX} +uninstall: + dune uninstall --prefix ${PREFIX} -htm: - rm -f {3sqd84,hvhhwf,ka4wtj,h1a9tg,9egbae}.htm - txt convert readme.txt -t htm - txt convert txt/3sqd84.txt -t htm - txt convert txt/hvhhwf.txt -t htm - txt convert txt/h1a9tg.txt -t htm - txt convert txt/9egbae.txt -t htm .PHONY: cli diff --git a/dune-project b/dune-project index 05a9b12..716a145 100644 --- a/dune-project +++ b/dune-project @@ -2,6 +2,8 @@ (name logarion) (version 1.3) (license EUPL-1.2) +(authors "orbifx ") +(bug_reports "mailto:logarion@lists.tildeverse.org") (maintainers "Izuru Yakumo ") (homepage "https://logarion.chaotic.ninja") (source (uri git+https://git.chaotic.ninja/yakumo.izuru/logarion.git)) diff --git a/logarion.opam b/logarion.opam index d9aa489..badd6de 100644 --- a/logarion.opam +++ b/logarion.opam @@ -3,8 +3,10 @@ opam-version: "2.0" version: "1.3" synopsis: "Texts archival and exchange" maintainer: ["Izuru Yakumo "] +authors: ["orbifx "] license: "EUPL-1.2" homepage: "https://logarion.chaotic.ninja" +bug-reports: "mailto:logarion@lists.tildeverse.org" depends: [ "dune" {>= "2.0"} "cmdliner" {<= "1.0.4"}