-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
54 lines (38 loc) · 840 Bytes
/
Makefile
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Default dune targets.
#
default: test
build:
dune build
test:
dune runtest
doc:
dune build @doc
clean:
dune clean
distclean: clean
.PHONY: build test clean distclean doc
# Deploy doc to website.
#
sync: doc
exit 1 # ssh.ocamlcore.org is not available anymore to publish doc.
.PHONY: sync
# Headache target
# Fix license header of file.
headache:
find ./ \
-name _darcs -prune -false \
-o -name .git -prune -false \
-o -name .svn -prune -false \
-o -name _build -prune -false \
-o -name dist -prune -false \
-o -name '*[^~]' -type f \
| xargs /usr/bin/headache -h _header -c _headache.config
.PHONY: headache
# Deploy target
# Deploy/release the software.
deploy:
mkdir dist || true
admin-gallu-deploy \
--package_name ocaml-xdg-basedir --package_version 0.0.4 \
--verbose
.PHONY: deploy