From 43abcb5dbbd709f14faf6725775bb5d699e66832 Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Sat, 19 Oct 2024 18:08:35 +0800 Subject: [PATCH] ... --- Makefile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index eed6003..e619ec2 100644 --- a/Makefile +++ b/Makefile @@ -24,24 +24,23 @@ vfile=$(extra_dir)/emsVersion version=$(shell grep "Version:" $(vfile) | awk -F' ' '{print $$2}') print-version: - # 输出版本信息和更新后的日期 @echo "Version: $(version)" @echo "Release Date: $(current_date)" package: + @echo "prepare build environment ..." @rm -rf $(package_path) @mkdir -p $(package_path) - @echo "cp bin dir to build dir" + @echo "copy bin to build directory ..." @cp -rf $(svc_bin) $(package_path) - @echo "update release date" + @echo "update release date ..." @sed -i "s/Release Date:.*/Release Date: $(current_date)/" $(vfile) - @echo "cp extra file to build dir" + @echo "copy extra file to build directory ..." @cp -rf $(extra_dir)/* $(package_path) - @echo "cp web file to build dir" + @echo "copy web file to build directory ..." @mkdir -p $(package_path)/web @cp -rf $(web_root)/* $(package_path)/web - # cd $(build_dir) - @echo "build package $(package_file)" + @echo "build package $(package_file) ..." @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) \ No newline at end of file