diff options
Diffstat (limited to 'crawl-ref/source/makefile')
-rw-r--r-- | crawl-ref/source/makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile index 2f1e546a1d..c98ea8e42f 100644 --- a/crawl-ref/source/makefile +++ b/crawl-ref/source/makefile @@ -976,7 +976,12 @@ source: depend removeold > $(BSRC)util/release_ver cd build && mv crawl-ref $(PKG_SRC_DIR) cd build && tar cfj ../../../$(SRC_PKG_TAR) $(PKG_SRC_DIR) - cd build && zip -rq ../../../$(SRC_PKG_ZIP) $(PKG_SRC_DIR) + @if which zip >/dev/null; then \ + @echo "cd build && zip -rq ../../../$(SRC_PKG_ZIP) $(PKG_SRC_DIR)"; \ + cd build && zip -rq ../../../$(SRC_PKG_ZIP) $(PKG_SRC_DIR); \ + else \ + echo "**** No ZIP installed -- not creating the zipball."; \ + fi rm -rf build removeold: |