Add makefile to generate all PDFs and HTML pages at once

This commit is contained in:
Morris Jobke
2016-07-06 10:38:12 +02:00
parent 9721805124
commit 154bc16d5b

19
Makefile Normal file
View File

@@ -0,0 +1,19 @@
all: admin-manual user-manual developer-manual
admin-manual:
cd admin_manual && make latexpdf
rm -rf admin_manual/_build/html/com
cd admin_manual && make html
@echo "Admin manual build finished; PDF and HTML is updated"
user-manual:
cd user_manual && make latexpdf
rm -rf user_manual/_build/html/org
cd user_manual && make html
@echo "User manual build finished; PDF and HTML is updated"
developer-manual:
cd developer_manual && make latexpdf
rm -rf developer_manual/_build/html/com
cd developer_manual && make html
@echo "Developer manual build finished; PDF and HTML is updated"