source: code/trunk/Makefile@ 36

Last change on this file since 36 was 34, checked in by fox, 2 years ago

Revise makefile

File size: 534 bytes
RevLine 
[2]1all:
2 dune build
[1]3
4cli:
[3]5 dune build cli/txt.exe
[1]6
7clean:
8 dune clean
9
[2]10tgz:
11 dune subst
12 dune build
[34]13 cp _build/default/cli/txt.exe txt.exe
14 strip txt.exe
15 tar czvf "logarion-$(shell date -r _build/default/cli/txt.exe "+%y-%m-%d")-$(shell uname -s)-$(shell uname -m)-$(shell git rev-parse --short HEAD).tar.gz" txt.exe readme.txt
16 rm txt.exe
[1]17
[33]18htm:
19 rm -f {3sqd84,hvhhwf,ka4wtj,h1a9tg}.htm
20 txt convert readme.txt -t htm
21 txt convert txt/3sqd84.txt -t htm
22 txt convert txt/hvhhwf.txt -t htm
23 txt convert txt/h1a9tg.txt -t htm
24
[2]25.PHONY: cli
Note: See TracBrowser for help on using the repository browser.