forked from bcpierce00/unison
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
40 lines (30 loc) · 869 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
# Unison file synchronizer: Makefile
# See LICENSE for terms.
.PHONY: all src docs manpage test depend clean install
all: src manpage
src:
$(MAKE) -C src
# It's a wart that docs need "unison" built (vs some docs utility).
# Having docs build src/unison points out that UISTYLE is a bug; either
# docs might build the GUI (not wanted as too heavy for docs use), or
# whatever is built might not be rebuilt later.
docs:
$(MAKE) -C src UISTYLE=text
$(MAKE) -C doc
$(MAKE) -C man
# "src" is a prerequisite to prevent parallel build errors.
# manpage builds currently require a pre-built "unison" binary.
manpage: src
$(MAKE) -C man
test:
./src/unison -ui text -selftest
depend:
$(MAKE) -C src depend
clean:
$(MAKE) -C doc clean
$(MAKE) -C man clean
$(MAKE) -C src clean
install:
$(MAKE) -C src install
installtext:
$(MAKE) -C src install UISTYLE=text