Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/documentation.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-12-07 17:14:16 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-12-07 17:50:03 +0300
commite9b56bcb8936666c2db5f0bad7974e51a035c5fe (patch)
tree641b3e60bacffed1e495983fb40f644f2219674b /Makefile
parentd5a16789677c651642aaf5e9c8aa43456b9294f2 (diff)
Properly pass the branch to get-server-sources.sh
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index b059de8c7..ef026280e 100644
--- a/Makefile
+++ b/Makefile
@@ -36,13 +36,13 @@ user-manual-de-pdf:
@echo "User manual de build finished; PDF is updated"
api-docs: clean-api-docs
- cd build && sh get-server-sources.sh master
+ cd build && sh get-server-sources.sh $(DRONE_BRANCH)
mkdir -p developer_manual/api/
cd build && composer install && composer update
cd build && php generateApiDoc.php
-icons-docs: clean-api-docs
- cd build && sh get-server-sources.sh master
+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
@@ -50,7 +50,7 @@ clean: clean-api-docs clean-icons-docs
rm -r admin_manual/_build developer_manual/_build user_manual/_build user_manual_de_/_build
clean-api-docs:
- -rm -r developer_manual/api/
+ rm -rf developer_manual/api/
clean-icons-docs:
- -rm -r developer_manual/design/img/
+ rm -rf developer_manual/design/img/