source: code/trunk/Makefile@ 50

Last change on this file since 50 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 
1OS=`uname -s`
2MACHINE=`uname -m`
3DATE=`date -r _build/default/cli/txt.exe +%Y%m%d`
4COMMIT=`git rev-parse --short HEAD`
5
6CC=cc
7LD=cc
8
9all:
10 dune build
11
12deps:
13 opam install dune ocurl cmdliner=1.0.4 msgpck
14
15cli:
16 dune build cli/txt.exe
17
18clean:
19 dune clean
20
21dist:
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
28htm:
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.