|
@@ -42,6 +42,8 @@ package_win:
|
|
rm -rf $(PACKAGE_FILE_NAME) $(PACKAGE_FILE_NAME).zip temp.zip
|
|
rm -rf $(PACKAGE_FILE_NAME) $(PACKAGE_FILE_NAME).zip temp.zip
|
|
#delete all content which was generated in _build dir except interfaces
|
|
#delete all content which was generated in _build dir except interfaces
|
|
find _build/ -type f ! -name '*.cmi' -delete
|
|
find _build/ -type f ! -name '*.cmi' -delete
|
|
|
|
+ #add ocaml version to the _build dir
|
|
|
|
+ ocaml -version > _build/ocaml.version
|
|
# Copy the package contents to $(PACKAGE_FILE_NAME)
|
|
# Copy the package contents to $(PACKAGE_FILE_NAME)
|
|
# Using poor man's cp (zip then unzip), because cp in cygwin is quite broken
|
|
# Using poor man's cp (zip then unzip), because cp in cygwin is quite broken
|
|
mkdir -p $(PACKAGE_FILE_NAME)
|
|
mkdir -p $(PACKAGE_FILE_NAME)
|