source: code/trunk/Makefile@ 48

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