[sr-dev] sercmd renaming

Andrei Pelinescu-Onciul andrei at iptel.org
Tue Oct 13 11:34:38 CEST 2009


On Oct 13, 2009 at 10:41, Juha Heinanen <jh at tutpro.com> wrote:
> currently i have to make these hacks in order to rename sercmd and
> DEFAULT_CTL_SOCKET:
> 
> 	# Rename sercmd and DEFAULT_CTL_SOCKET
> 	sed -i -e 's/NAME=sercmd/NAME=sip-proxy_ctl/' utils/sercmd/Makefile
> 	sed -i -e 's!sercmd/sercmd!sercmd/sip-proxy_ctl!' Makefile
> 	sed -i -e 's/ser_ctl/sip-proxy_ctl/' modules/ctl/ctl_defaults.h
> 
> those hack should not be needed and renaming should happen automatically
> based on MAIN_NAME or SHORT_NAME.

We will hopefully have soon a shornatme and we'll change all the command
name.

With some make hacks it would be possible to somehow choose a name based
on the configured SHORT_NAME, but it's likely it would introduce
additional problems and honestly from my point of view this is a
complete waste of time, there are much more important things that need
to be done.

> 
> i tried once to hack the makefiles for that, but was not successful.


Andrei



More information about the sr-dev mailing list