Files
nextcloud-docs/Makefile
Julius Härtl 823f9668f8 Remove server php docs build
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-18 21:15:29 +01:00

48 lines
1.4 KiB
Makefile

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
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: icons-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"
icons-docs: clean-icons-docs
cd build && sh get-server-sources.sh $(DRONE_BRANCH)
cd build && composer install && composer update
cd build && php generateIconsDoc.php
clean: clean-icons-docs
rm -r admin_manual/_build developer_manual/_build user_manual/_build user_manual_de_/_build
clean-icons-docs:
rm -rf developer_manual/design/img/