forked from nextcloud/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
52 lines (40 loc) · 1.53 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
all: html pdf
html: admin-manual-html user-manual-html user-manual-de-html developer-manual-html
pdf: admin-manual-pdf user-manual-pdf user-manual-de-pdf developer-manual-pdf
admin-manual-html:
rm -rf admin_manual/_build/html/com
cd admin_manual && make html
@echo "Admin manual build finished; HTML is updated"
user-manual-html:
rm -rf user_manual/_build/html/com
cd user_manual && make html
@echo "User manual build finished; HTML is updated"
user-manual-de-html:
rm -rf user_manual_de/_build/html/com
cd user_manual_de && make html
@echo "User manual de build finished; HTML is updated"
developer-manual-html: api-docs
rm -rf developer_manual/_build/html/com
cd developer_manual && make html
@echo "Developer manual build finished; HTML is updated"
admin-manual-pdf:
cd admin_manual && make latexpdf
@echo "Admin manual build finished; PDF is updated"
user-manual-pdf:
cd user_manual && make latexpdf
@echo "User manual build finished; PDF is updated"
user-manual-de-pdf:
cd user_manual_de && make latexpdf
@echo "User manual de build finished; PDF is updated"
developer-manual-pdf:
cd developer_manual && make latexpdf
@echo "Developer manual build finished; PDF is updated"
api-docs: clean-api-docs
cd build && sh get-server-sources.sh stable13
mkdir -p developer_manual/api/
cd build && composer install && composer update
cd build && php generateApiDoc.php
clean: clean-api-docs
rm -r admin_manual/_build developer_manual/_build user_manual/_build user_manual_de_/_build
clean-api-docs:
-rm -r developer_manual/api/