-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
54 lines (43 loc) · 1.27 KB
/
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
54
include buildconf.mk
all: syndicate
syndicate: protobufs libsyndicate libsyndicate-ug ms syndicate-python
.PHONY: protobufs
protobufs:
$(MAKE) -C protobufs
.PHONY: libsyndicate
libsyndicate: protobufs
$(MAKE) -C libsyndicate
.PHONY: libsyndicate-ug
libsyndicate-ug: libsyndicate protobufs
$(MAKE) -C libsyndicate-ug
.PHONY: ms
ms: protobufs
$(MAKE) -C ms
.PHONY: syndicate-python
syndicate-python: protobufs ms libsyndicate-ug libsyndicate
$(MAKE) -C python
.PHONY: install
install:
$(MAKE) -C protobufs install
$(MAKE) -C libsyndicate install
$(MAKE) -C libsyndicate-ug install
$(MAKE) -C ms install
$(MAKE) -C python install
.PHONY: clean
clean:
$(MAKE) -C libsyndicate clean
$(MAKE) -C protobufs clean
$(MAKE) -C libsyndicate-ug clean
$(MAKE) -C ms clean
$(MAKE) -C python clean
if [ -f docs/Makefile ]; then $(MAKE) -C docs clean; fi
.PHONY: docs
docs:
if [ ! -f docs/Makefile ]; then git submodule init && git submodule update; fi
mkdir -p docs/sources/syndicate-core
if [ ! -d docs/sources/syndicate-core/ms ]; then cp -r `find . -maxdepth 1 ! -name "docs" | grep /` docs/sources/syndicate-core; fi
cd docs && ./scrapedocs syndicate-core/libsyndicate syndicate-core/libsyndicate-ug
$(MAKE) -C docs docs
.PHONY: installman
installman:
$(MAKE) -C docs installman