Module: sems
Branch: 1.4
Commit: 0990be9ecc3f7136e0f6c28b689a4cae221b8576
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=0990be9ecc3f7136e0f6c28b689a4cae221b8576

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 1b1807a..1bd8094 100644
--- a/Makefile.defs
+++ b/Makefile.defs
@@ -24,11 +24,11 @@ PATCHLEVEL = 4
 SUBLEVEL = 1
 
 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