forked from jstedfast/MailKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
29 lines (21 loc) · 777 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
OUTDIR=MailKit/bin/Release/lib/net40
ASSEMBLY=$(OUTDIR)/MailKit.dll
XMLDOCS=$(OUTDIR)/MailKit.xml
SOLUTION=MailKit.Net40.sln
all:
xbuild /target:Build /p:Configuration=Release $(SOLUTION)
debug:
xbuild /target:Build /p:Configuration=Debug $(SOLUTION)
clean:
xbuild /target:Clean /p:Configuration=Debug $(SOLUTION)
xbuild /target:Clean /p:Configuration=Release $(SOLUTION)
check-docs:
@find docs/en -name "*.xml" -exec grep -l "To be added." {} \;
update-docs: $(ASSEMBLY)
mdoc update --delete -o docs/en $(ASSEMBLY)
merge-docs: $(ASSEMBLY) $(XMLDOCS)
mdoc update -i $(XMLDOCS) -o docs/en $(ASSEMBLY)
assemble-docs:
mdoc assemble --out=MailKit docs/en
html-docs:
mdoc export-html --force-update --template=docs/github-pages.xslt -o ../MailKit-docs/docs docs/en