aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authornodiscc <nodiscc@gmail.com>2020-01-19 12:33:24 +0100
committernodiscc <nodiscc@gmail.com>2020-01-19 12:35:19 +0100
commitdd452c5691da85ca79c74ba51b1a6e541c6536cf (patch)
treed442eaa19fa536936c81ed11ecf5e9a71e07878a /Makefile
parent1001cc108fec759b076c9f6e12b71dea5d49fe9b (diff)
downloadShaarli-dd452c5691da85ca79c74ba51b1a6e541c6536cf.tar.gz
Shaarli-dd452c5691da85ca79c74ba51b1a6e541c6536cf.tar.zst
Shaarli-dd452c5691da85ca79c74ba51b1a6e541c6536cf.zip
fix directory creation in makefile
the syntax {doc,venor} is only supported in bash and make uses /bin/sh as default shell
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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
123### generate a release zip and include 3rd-party dependencies and translations 123### generate a release zip and include 3rd-party dependencies and translations
124release_zip: composer_dependencies htmldoc translate build_frontend 124release_zip: composer_dependencies htmldoc translate build_frontend
125 git archive --prefix=$(ARCHIVE_PREFIX) -o $(ARCHIVE_VERSION).zip -9 HEAD 125 git archive --prefix=$(ARCHIVE_PREFIX) -o $(ARCHIVE_VERSION).zip -9 HEAD
126 mkdir -p $(ARCHIVE_PREFIX)/{doc,vendor} 126 mkdir -p $(ARCHIVE_PREFIX)/doc
127 mkdir -p $(ARCHIVE_PREFIX)/vendor
127 rsync -a doc/html/ $(ARCHIVE_PREFIX)doc/html/ 128 rsync -a doc/html/ $(ARCHIVE_PREFIX)doc/html/
128 zip -r $(ARCHIVE_VERSION).zip $(ARCHIVE_PREFIX)doc/ 129 zip -r $(ARCHIVE_VERSION).zip $(ARCHIVE_PREFIX)doc/
129 rsync -a vendor/ $(ARCHIVE_PREFIX)vendor/ 130 rsync -a vendor/ $(ARCHIVE_PREFIX)vendor/