From b20e568aa92d5846c28236a980bcee729b6ba166 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 4 Dec 2017 23:06:27 +0100 Subject: [PATCH] Reorder Makefile tasks Signed-off-by: Morris Jobke --- .drone.yml | 1 - Makefile | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 08c22863a..a8dcca2e3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,5 +2,4 @@ pipeline: documentation: image: nextcloudci/documentation:documentation-4 commands: - - make api-docs - make all diff --git a/Makefile b/Makefile index 3307dcd72..e63741399 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ user-manual-de-html: cd user_manual_de && make html @echo "User manual de build finished; HTML is updated" -developer-manual-html: +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" @@ -46,7 +46,7 @@ api-docs: clean-api-docs cd build && php generateApiDoc.php clean: clean-api-docs - rm -r admin_manual/_build developer_manual/_build developer_manual/api user_manual/_build user_manual_de_/_build + rm -r admin_manual/_build developer_manual/_build user_manual/_build user_manual_de_/_build clean-api-docs: - rm -fr developer_manual/api/ + rm -r developer_manual/api/