source: code/trunk/Makefile@ 42

Last change on this file since 42 was 40, checked in by fox, 2 years ago

Swap tgz filename fields

File size: 529 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
[40]15 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
[34]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.