This commit is contained in:
2023-08-29 19:11:20 +08:00
parent 6c8b71e575
commit abe89d7832

View File

@@ -2,6 +2,7 @@
PROJECT = OMC
VERSION = 5GC1.0.0
RelDate = `date +%Y%m%d`
PLATFORM = amd64
ARMPLATFORM = aarch64
GitLocalRoot = $(HOME)/local.git
@@ -81,7 +82,7 @@ deb: $(BINNAME)
chmod +x $(DebBuildDir)/usr/local/omc/bin/*
# cp -rf $(BuildDir)/nginx/* $(DebBuildDir)/etc/nginx/conf.d
cp -rf $(BuildDir)/systemd/*.service $(DebBuildDir)/lib/systemd/system/
dpkg -b $(DebBuildDir) $(ReleaseDebs)/$(PROJECT)-$(VERSION).$(PLATFORM).`date +%Y%m%d`.deb
dpkg -b $(DebBuildDir) $(ReleaseDebs)/$(PROJECT)-$(VERSION).$(RelDate).$(PLATFORM).deb
rpm: $(BINNAME)
cp -rf ./restagent/$(RESTAGENT) $(BinDir)