Last change
on this file since 49 was 48, checked in by Izuru Yakumo, 20 months ago |
Switch HTML doctype to 4.01 Transitional, update documentation
Signed-off-by: Izuru Yakumo <yakumo.izuru@…>
|
File size:
652 bytes
|
Rev | Line | |
---|
[46] | 1 | OS=`uname -s`
|
---|
| 2 | MACHINE=`uname -m`
|
---|
| 3 | DATE=`date -r _build/default/cli/txt.exe +%Y%m%d`
|
---|
| 4 | COMMIT=`git rev-parse --short HEAD`
|
---|
| 5 |
|
---|
[48] | 6 | CC=cc
|
---|
| 7 | LD=cc
|
---|
| 8 |
|
---|
[2] | 9 | all:
|
---|
| 10 | dune build
|
---|
[1] | 11 |
|
---|
[46] | 12 | deps:
|
---|
| 13 | opam install dune ocurl cmdliner=1.0.4 msgpck
|
---|
| 14 |
|
---|
[1] | 15 | cli:
|
---|
[3] | 16 | dune build cli/txt.exe
|
---|
[1] | 17 |
|
---|
| 18 | clean:
|
---|
| 19 | dune clean
|
---|
| 20 |
|
---|
[46] | 21 | dist:
|
---|
[2] | 22 | dune build
|
---|
[34] | 23 | cp _build/default/cli/txt.exe txt.exe
|
---|
| 24 | strip txt.exe
|
---|
[46] | 25 | tar czvf "logarion-${OS}-${MACHINE}-${DATE}-${COMMIT}" txt.exe readme.txt
|
---|
[34] | 26 | rm txt.exe
|
---|
[1] | 27 |
|
---|
[33] | 28 | htm:
|
---|
[47] | 29 | rm -f {3sqd84,hvhhwf,ka4wtj,h1a9tg,9egbae}.htm
|
---|
[33] | 30 | txt convert readme.txt -t htm
|
---|
| 31 | txt convert txt/3sqd84.txt -t htm
|
---|
| 32 | txt convert txt/hvhhwf.txt -t htm
|
---|
| 33 | txt convert txt/h1a9tg.txt -t htm
|
---|
[47] | 34 | txt convert txt/9egbae.txt -t htm
|
---|
[33] | 35 |
|
---|
[2] | 36 | .PHONY: cli
|
---|
Note:
See
TracBrowser
for help on using the repository browser.