[sr-dev] how to change MAIN_NAME?

Juha Heinanen jh at tutpro.com
Thu May 28 16:17:23 CEST 2009


after the ser => $(MAIN_NAME) commit to Makefile.defs, i got my debian
package build like i want it to be.  i used the following definitions:

MAIN_NAME=sip-router
SCTP=1

and then made config like this:

$(MAKE) cfg CFLAGS="$(CFLAGS)" SCTP=$(SCTP) MAIN_NAME=$(MAIN_NAME) LOCALBASE=/usr modules="$(MODULES)" modules_s="" modules_k="$(MODULES_K)"

the above puts config files in /usr/etc/sip-router dir.  i haven't yet
figured out, how to get them to /etc/sip-router instead, but it doesn't
matter, because i don't use them anyhow.

-- juha



More information about the sr-dev mailing list