From dd452c5691da85ca79c74ba51b1a6e541c6536cf Mon Sep 17 00:00:00 2001 From: nodiscc Date: Sun, 19 Jan 2020 12:33:24 +0100 Subject: [PATCH] fix directory creation in makefile the syntax {doc,venor} is only supported in bash and make uses /bin/sh as default shell --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 917fab7d..03c6a0d6 100644 --- a/Makefile +++ b/Makefile @@ -123,7 +123,8 @@ release_tar: composer_dependencies htmldoc translate build_frontend ### generate a release zip and include 3rd-party dependencies and translations release_zip: composer_dependencies htmldoc translate build_frontend git archive --prefix=$(ARCHIVE_PREFIX) -o $(ARCHIVE_VERSION).zip -9 HEAD - mkdir -p $(ARCHIVE_PREFIX)/{doc,vendor} + mkdir -p $(ARCHIVE_PREFIX)/doc + mkdir -p $(ARCHIVE_PREFIX)/vendor rsync -a doc/html/ $(ARCHIVE_PREFIX)doc/html/ zip -r $(ARCHIVE_VERSION).zip $(ARCHIVE_PREFIX)doc/ rsync -a vendor/ $(ARCHIVE_PREFIX)vendor/