...
This commit is contained in:
5
Makefile
5
Makefile
@@ -32,7 +32,7 @@ package:
|
|||||||
@rm -rf $(package_path)
|
@rm -rf $(package_path)
|
||||||
@mkdir -p $(package_path)
|
@mkdir -p $(package_path)
|
||||||
@echo "copy bin to build directory ..."
|
@echo "copy bin to build directory ..."
|
||||||
@cp -rf $(svc_bin) $(package_path)
|
@cp -rf $(svc_bin) $(package_path)
|
||||||
@echo "update release date ..."
|
@echo "update release date ..."
|
||||||
@sed -i "s/Release Date:.*/Release Date: $(current_date)/" $(vfile)
|
@sed -i "s/Release Date:.*/Release Date: $(current_date)/" $(vfile)
|
||||||
@echo "copy extra file to build directory ..."
|
@echo "copy extra file to build directory ..."
|
||||||
@@ -43,4 +43,5 @@ package:
|
|||||||
@echo "build package $(package_file) ..."
|
@echo "build package $(package_file) ..."
|
||||||
@tar cvfz $(build_dir)/$(package_file) -C $(build_dir) $(package_name) >/dev/null
|
@tar cvfz $(build_dir)/$(package_file) -C $(build_dir) $(package_name) >/dev/null
|
||||||
@echo "move $(package_file) to $(release_dir) ..."
|
@echo "move $(package_file) to $(release_dir) ..."
|
||||||
@mv -f $(build_dir)/$(package_file) $(release_dir)
|
@mv -f $(build_dir)/$(package_file) $(release_dir)
|
||||||
|
@echo "prepare build environment ..."
|
||||||
Reference in New Issue
Block a user