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