| Line | |
|---|
| 1 | all:
|
|---|
| 2 | dune build
|
|---|
| 3 |
|
|---|
| 4 | cli:
|
|---|
| 5 | dune build cli/txt.exe
|
|---|
| 6 |
|
|---|
| 7 | clean:
|
|---|
| 8 | dune clean
|
|---|
| 9 |
|
|---|
| 10 | tgz:
|
|---|
| 11 | dune subst
|
|---|
| 12 | dune build
|
|---|
| 13 | cp _build/default/cli/txt.exe txt
|
|---|
| 14 | strip txt
|
|---|
| 15 | tar czvf "logarion-$(shell date -r _build/default/cli/cli.exe "+%y-%m-%d")-$(shell uname -s)-$(shell uname -m)-$(shell git rev-parse --short HEAD).tar.gz" txt readme
|
|---|
| 16 | rm txt
|
|---|
| 17 |
|
|---|
| 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 |
|
|---|
| 25 | .PHONY: cli
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.