|
Last change
on this file since 47 was 47, checked in by Izuru Yakumo, 2 years ago |
|
Izuru Yakumo, The Violet Hermit shall be taking over Logarion's development, from now on
Signed-off-by: Izuru Yakumo <yakumo.izuru@…>
|
|
File size:
651 bytes
|
| Line | |
|---|
| 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 |
|
|---|
| 6 | all:
|
|---|
| 7 | dune build
|
|---|
| 8 |
|
|---|
| 9 | deps:
|
|---|
| 10 | opam install dune ocurl cmdliner=1.0.4 msgpck
|
|---|
| 11 |
|
|---|
| 12 | cli:
|
|---|
| 13 | dune build cli/txt.exe
|
|---|
| 14 |
|
|---|
| 15 | clean:
|
|---|
| 16 | dune clean
|
|---|
| 17 |
|
|---|
| 18 | dist:
|
|---|
| 19 | dune subst
|
|---|
| 20 | dune build
|
|---|
| 21 | cp _build/default/cli/txt.exe txt.exe
|
|---|
| 22 | strip txt.exe
|
|---|
| 23 | tar czvf "logarion-${OS}-${MACHINE}-${DATE}-${COMMIT}" txt.exe readme.txt
|
|---|
| 24 | rm txt.exe
|
|---|
| 25 |
|
|---|
| 26 | htm:
|
|---|
| 27 | rm -f {3sqd84,hvhhwf,ka4wtj,h1a9tg,9egbae}.htm
|
|---|
| 28 | txt convert readme.txt -t htm
|
|---|
| 29 | txt convert txt/3sqd84.txt -t htm
|
|---|
| 30 | txt convert txt/hvhhwf.txt -t htm
|
|---|
| 31 | txt convert txt/h1a9tg.txt -t htm
|
|---|
| 32 | txt convert txt/9egbae.txt -t htm
|
|---|
| 33 |
|
|---|
| 34 | .PHONY: cli
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.