Last change
on this file since 48 was 48, checked in by yakumo.izuru, 18 months ago |
Switch HTML doctype to 4.01 Transitional, update documentation
Signed-off-by: Izuru Yakumo <yakumo.izuru@…>
|
File size:
652 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 | CC=cc
|
---|
7 | LD=cc
|
---|
8 |
|
---|
9 | all:
|
---|
10 | dune build
|
---|
11 |
|
---|
12 | deps:
|
---|
13 | opam install dune ocurl cmdliner=1.0.4 msgpck
|
---|
14 |
|
---|
15 | cli:
|
---|
16 | dune build cli/txt.exe
|
---|
17 |
|
---|
18 | clean:
|
---|
19 | dune clean
|
---|
20 |
|
---|
21 | dist:
|
---|
22 | dune build
|
---|
23 | cp _build/default/cli/txt.exe txt.exe
|
---|
24 | strip txt.exe
|
---|
25 | tar czvf "logarion-${OS}-${MACHINE}-${DATE}-${COMMIT}" txt.exe readme.txt
|
---|
26 | rm txt.exe
|
---|
27 |
|
---|
28 | htm:
|
---|
29 | rm -f {3sqd84,hvhhwf,ka4wtj,h1a9tg,9egbae}.htm
|
---|
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
|
---|
34 | txt convert txt/9egbae.txt -t htm
|
---|
35 |
|
---|
36 | .PHONY: cli
|
---|
Note:
See
TracBrowser
for help on using the repository browser.