forked from jmapio/jmap
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
50 lines (44 loc) · 1.18 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
PHONY: all clean
all: index.html spec.html client.html server.html
index.html: header.inc \
home/faq.mdwn \
footer.inc
cp header.inc $@
markdown home/faq.mdwn >> $@
cat footer.inc >> $@
spec.html: header.inc \
spec/apimodel.mdwn \
spec/datamodel.mdwn \
spec/accounts.mdwn \
spec/mailbox.mdwn \
spec/messagelist.mdwn \
spec/thread.mdwn \
spec/message.mdwn \
spec/searchsnippet.mdwn \
spec/upload.mdwn \
footer.inc
cp header.inc $@
markdown spec/apimodel.mdwn >> $@
markdown spec/datamodel.mdwn >> $@
markdown spec/accounts.mdwn >> $@
markdown spec/mailbox.mdwn >> $@
markdown spec/messagelist.mdwn >> $@
markdown spec/thread.mdwn >> $@
markdown spec/message.mdwn >> $@
markdown spec/searchsnippet.mdwn >> $@
markdown spec/upload.mdwn >> $@
cat footer.inc >> $@
client.html: header.inc \
client-guide/jmap-client-guide.mdwn \
footer.inc
cp header.inc $@
markdown client-guide/jmap-client-guide.mdwn >> $@
cat footer.inc >> $@
server.html: header.inc \
server-guide/jmap-server-guide.mdwn \
footer.inc
cp header.inc $@
markdown server-guide/jmap-server-guide.mdwn >> $@
cat footer.inc >> $@
clean:
rm -f index.html spec.html client.html server.html