From b8d65903d3347fd403680baae90d4011da879000 Mon Sep 17 00:00:00 2001 From: wwccss Date: Thu, 25 Jul 2013 12:06:34 +0800 Subject: [PATCH] * split the code into zentao and xirang. --- build/linux/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/linux/Makefile b/build/linux/Makefile index f26aafc820..4b413d7dbd 100644 --- a/build/linux/Makefile +++ b/build/linux/Makefile @@ -1,7 +1,5 @@ -VERSION=$(shell head -n 1 zentao/VERSION) - -all: 7z -7z: +all: common zentao +common: sudo ./lampp stop sudo rm -fr logs/* sudo rm -fr var/mysql/*.err @@ -12,6 +10,8 @@ all: 7z sudo mv lampp/Makefile . sudo chmod a+rx lampp/start* sudo chmod a+rx lampp/start88 +zentao: + VERSION=$(shell head -n 1 zentao/VERSION) sudo 7z a -sfx ZenTaoPMS.${VERSION}.linux.7z lampp clean: sudo mv lampp lampp.bak