forked from xapi-project/xapi-storage-script
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (23 loc) · 660 Bytes
/
Copy pathMakefile
File metadata and controls
33 lines (23 loc) · 660 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
25
26
27
28
29
30
31
32
33
BINDIR=/usr/sbin
MANDIR=/usr/share/man
.PHONY: release build install uninstall clean doc reindent test
release:
dune build @install --profile=release
build:
dune build @install
install:
install -m 0755 _build/install/default/bin/xapi-storage-script $(BINDIR)
install -m 0644 _build/install/default/man/man8/xapi-storage-script.8 $(MANDIR)/man8
uninstall:
rm -f $(BINDIR)/xapi-storage-script
rm -f $(MANDIR)/man8/xapi-storage-script.8*
clean:
dune clean
# requires odoc
doc:
dune build @doc --profile=release
reindent:
git ls-files '*.ml*' | xargs ocp-indent --syntax cstruct -i
test:
dune runtest --profile=release
.DEFAULT_GOAL := release