Module: sems
Branch: master
Commit: 52b19cb8b4f1a9ea0ed0e2ef53d9accc61f06b60
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=52b19cb8b4f1a9ea0ed0e2ef53d9accc61f06b60

Author: Raphael Coeffic <[email protected]>
Committer: Raphael Coeffic <[email protected]>
Date:   Thu Apr 21 10:18:42 2011 +0200

shortens dev build version

additionally, allows for release build without modifying Makefile.defs:
 make all GIT= SVNVERSION= EXTRAVERSION=-deb-xy

---

 Makefile.defs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile.defs b/Makefile.defs
index f3f3ff5..46879c2 100644
--- a/Makefile.defs
+++ b/Makefile.defs
@@ -24,11 +24,11 @@ PATCHLEVEL = 5
 SUBLEVEL = 0
 
 ifneq ($(SCM_REV),)
-EXTRAVERSION = -dev-$(SCM_REV)
-endif
-
+RELEASE = $(SCM_REV)
+else
 REL_VERSION=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)
 RELEASE=$(REL_VERSION)$(EXTRAVERSION)
+endif
 
 CPPFLAGS += -D_DEBUG \
          -D_THREAD_SAFE -D_REENTRANT \

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to