On Oct 13, 2009 at 10:41, Juha Heinanen <jh(a)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