diff options
author | nodiscc <nodiscc@gmail.com> | 2020-01-19 12:33:24 +0100 |
---|---|---|
committer | nodiscc <nodiscc@gmail.com> | 2020-01-19 12:35:19 +0100 |
commit | dd452c5691da85ca79c74ba51b1a6e541c6536cf (patch) | |
tree | d442eaa19fa536936c81ed11ecf5e9a71e07878a | |
parent | 1001cc108fec759b076c9f6e12b71dea5d49fe9b (diff) | |
download | Shaarli-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
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |
124 | release_zip: composer_dependencies htmldoc translate build_frontend | 124 | release_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/ |