From 560ff40b07ae238d9a4b84af5dab4d2806620e73 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 13 Jul 2016 18:15:04 +0200 Subject: [PATCH] Allow building all HTML only --- Makefile | 34 +++++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index 89b4c6500..811efe050 100644 --- a/Makefile +++ b/Makefile @@ -1,19 +1,31 @@ -all: admin-manual user-manual developer-manual +all: html pdf -admin-manual: - cd admin_manual && make latexpdf +html: admin-manual-html user-manual-html developer-manual-html +pdf: admin-manual-pdf user-manual-pdf developer-manual-pdf + +admin-manual-html: rm -rf admin_manual/_build/html/com cd admin_manual && make html - @echo "Admin manual build finished; PDF and HTML is updated" + @echo "Admin manual build finished; HTML is updated" -user-manual: - cd user_manual && make latexpdf - rm -rf user_manual/_build/html/org +user-manual-html: + rm -rf user_manual/_build/html/com cd user_manual && make html - @echo "User manual build finished; PDF and HTML is updated" + @echo "User manual build finished; HTML is updated" -developer-manual: - cd developer_manual && make latexpdf +developer-manual-html: rm -rf developer_manual/_build/html/com cd developer_manual && make html - @echo "Developer manual build finished; PDF and HTML is updated" + @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" + +developer-manual-pdf: + cd developer_manual && make latexpdf + @echo "Developer manual build finished; PDF is updated"