[sr-dev] git:master: sercmd: builds and installs as kamcmd when FLAVOUR=kamailio

Daniel-Constantin Mierla miconda at gmail.com
Wed Oct 24 08:40:56 CEST 2012


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Wed Oct 24 00:05:13 2012 +0200

sercmd: builds and installs as kamcmd when FLAVOUR=kamailio

- avoid packaging conflicts with ser (both packages attempt to install
  same file)

---

 utils/sercmd/Makefile |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/utils/sercmd/Makefile b/utils/sercmd/Makefile
index 2cb406a..dacd064 100644
--- a/utils/sercmd/Makefile
+++ b/utils/sercmd/Makefile
@@ -4,8 +4,13 @@ include $(COREPATH)/Makefile.defs
 include $(COREPATH)/Makefile.targets
 
 auto_gen=
-NAME=sercmd
 RELEASE=0.2
+UTIL_SRC_NAME=sercmd
+ifeq ($(FLAVOUR),kamailio)
+	NAME=kamcmd
+else
+	NAME=sercmd
+endif
 
 readline_locations= /usr/include/readline/readline.h \
 					$(LOCALBASE)/include/readline/readline.h




More information about the sr-dev mailing list