This commit is contained in:
2023-08-29 19:09:44 +08:00
parent d1590ac9c2
commit 6c8b71e575

View File

@@ -1,7 +1,7 @@
# Makefile for AGrandTech EMS project
PROJECT = OMC
VERSION = 5GC16.1.1
VERSION = 5GC1.0.0
PLATFORM = amd64
ARMPLATFORM = aarch64
GitLocalRoot = $(HOME)/local.git
@@ -81,7 +81,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).deb
dpkg -b $(DebBuildDir) $(ReleaseDebs)/$(PROJECT)-$(VERSION).$(PLATFORM).`date +%Y%m%d`.deb
rpm: $(BINNAME)
cp -rf ./restagent/$(RESTAGENT) $(BinDir)