use INSTALL_DIR as base name for archives

This commit is contained in:
Laurent Perron
2016-07-18 15:25:55 -07:00
parent 936a9f6bca
commit 082d8d894f

View File

@@ -1,9 +1,9 @@
archive: $(LIB_DIR)$S$(LIB_PREFIX)ortools.$(LIB_SUFFIX) csharp java create_dirs cc_archive dotnet_archive java_archive
ifeq "$(SYSTEM)" "win"
cd temp && ..$Stools$Szip.exe -r ..$SGoogle.OrTools.$(PORT)-$(OR_TOOLS_VERSION).zip $(INSTALL_DIR)
cd temp && ..$Stools$Szip.exe -r ..$S$(INSTALL_DIR).zip $(INSTALL_DIR)
else
cd temp && tar -c -v -z --no-same-owner -f ..$SGoogle.OrTools.$(PORT)-$(OR_TOOLS_VERSION).tar.gz $(INSTALL_DIR)
cd temp && tar -c -v -z --no-same-owner -f ..$S$(INSTALL_DIR).tar.gz $(INSTALL_DIR)
endif
-$(DELREC) temp