Merge pull request #45 from nextcloud/general-makefile

Add makefile to generate all PDFs and HTML pages at once
This commit is contained in:
Morris Jobke 2016-07-06 10:40:56 +02:00 committed by GitHub
commit 8debfa8527

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"