Rev | Line | |
---|
[2] | 1 | all:
|
---|
| 2 | dune build
|
---|
[1] | 3 |
|
---|
| 4 | cli:
|
---|
[3] | 5 | dune build cli/txt.exe
|
---|
[1] | 6 |
|
---|
| 7 | clean:
|
---|
| 8 | dune clean
|
---|
| 9 |
|
---|
[2] | 10 | tgz:
|
---|
| 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] | 18 | htm:
|
---|
| 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.