-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (18 loc) · 710 Bytes
/
Makefile
File metadata and controls
24 lines (18 loc) · 710 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.PHONY: all
all: lib example
.PHONY: lib
lib:
dune build @all
.PHONY: example
example:
dune build example/luaclient.exe
.PHONY: doc-noweb
doc-noweb:
docker build -t luaml-noweb:latest -f doc/Dockerfile doc
echo docker run --rm -v .:/mnt/project luaml-noweb:latest cp /opt/lua-ml/doc/luaclient.tex /mnt/project/doc/luaclient.tex
docker run --rm -v .:/mnt/project luaml-noweb:latest cp /opt/lua-ml/luaclient.pdf /mnt/project/doc/luaclient.pdf
echo docker run --rm -v .:/mnt/project luaml-noweb:latest cp /opt/lua-ml/doc/lua-ml.tex /mnt/project/doc/lua-ml.tex
docker run --rm -v .:/mnt/project luaml-noweb:latest cp /opt/lua-ml/lua-ml.pdf /mnt/project/doc/lua-ml.pdf
.PHONY: clean
clean:
dune clean