Update build system settings
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja> git-svn-id: file:///srv/svn/repo/kosuzu/trunk@51 eb64cd80-c68d-6f47-b6a3-0ada418499da
This commit is contained in:
12
Makefile
12
Makefile
@@ -2,6 +2,7 @@ OS=`uname -s`
|
|||||||
MACHINE=`uname -m`
|
MACHINE=`uname -m`
|
||||||
DATE=`date -r _build/default/cli/txt.exe +%Y%m%d`
|
DATE=`date -r _build/default/cli/txt.exe +%Y%m%d`
|
||||||
COMMIT=`git rev-parse --short HEAD`
|
COMMIT=`git rev-parse --short HEAD`
|
||||||
|
PREFIX=/usr/local
|
||||||
|
|
||||||
CC=cc
|
CC=cc
|
||||||
LD=cc
|
LD=cc
|
||||||
@@ -24,13 +25,10 @@ dist:
|
|||||||
strip txt.exe
|
strip txt.exe
|
||||||
tar czvf "logarion-${OS}-${MACHINE}-${DATE}-${COMMIT}" txt.exe readme.txt
|
tar czvf "logarion-${OS}-${MACHINE}-${DATE}-${COMMIT}" txt.exe readme.txt
|
||||||
rm txt.exe
|
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
|
.PHONY: cli
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
(name logarion)
|
(name logarion)
|
||||||
(version 1.3)
|
(version 1.3)
|
||||||
(license EUPL-1.2)
|
(license EUPL-1.2)
|
||||||
|
(authors "orbifx <fox@orbitalfox.eu>")
|
||||||
|
(bug_reports "mailto:logarion@lists.tildeverse.org")
|
||||||
(maintainers "Izuru Yakumo <novaburst@envs.net>")
|
(maintainers "Izuru Yakumo <novaburst@envs.net>")
|
||||||
(homepage "https://logarion.chaotic.ninja")
|
(homepage "https://logarion.chaotic.ninja")
|
||||||
(source (uri git+https://git.chaotic.ninja/yakumo.izuru/logarion.git))
|
(source (uri git+https://git.chaotic.ninja/yakumo.izuru/logarion.git))
|
||||||
|
|||||||
@@ -3,8 +3,10 @@ opam-version: "2.0"
|
|||||||
version: "1.3"
|
version: "1.3"
|
||||||
synopsis: "Texts archival and exchange"
|
synopsis: "Texts archival and exchange"
|
||||||
maintainer: ["Izuru Yakumo <novaburst@envs.net>"]
|
maintainer: ["Izuru Yakumo <novaburst@envs.net>"]
|
||||||
|
authors: ["orbifx <fox@orbitalfox.eu>"]
|
||||||
license: "EUPL-1.2"
|
license: "EUPL-1.2"
|
||||||
homepage: "https://logarion.chaotic.ninja"
|
homepage: "https://logarion.chaotic.ninja"
|
||||||
|
bug-reports: "mailto:logarion@lists.tildeverse.org"
|
||||||
depends: [
|
depends: [
|
||||||
"dune" {>= "2.0"}
|
"dune" {>= "2.0"}
|
||||||
"cmdliner" {<= "1.0.4"}
|
"cmdliner" {<= "1.0.4"}
|
||||||
|
|||||||
Reference in New Issue
Block a user