Files
kosuzu/Makefile
fox da47c68af6 Swap tgz filename fields
git-svn-id: file:///srv/svn/repo/kosuzu/trunk@40 eb64cd80-c68d-6f47-b6a3-0ada418499da
2022-12-13 12:26:20 +00:00

26 lines
529 B
Makefile

all:
dune build
cli:
dune build cli/txt.exe
clean:
dune clean
tgz:
dune subst
dune build
cp _build/default/cli/txt.exe txt.exe
strip txt.exe
tar czvf "logarion-$(shell uname -s)-$(shell uname -m)-$(shell date -r _build/default/cli/txt.exe "+%y%m%d")-$(shell git rev-parse --short HEAD).tgz" txt.exe readme.txt
rm txt.exe
htm:
rm -f {3sqd84,hvhhwf,ka4wtj,h1a9tg}.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
.PHONY: cli