and what about ``cfg_target`` ?
previously I was doing: ``` $(MAKE) FLAVOUR=kamailio cfg prefix=/usr cfg_prefix=$(D) \ cfg_target=/etc/kamailio/ \ BASEDIR=$(D) \ skip_modules="$(EXCLUDED_MODULES) $(EXTRA_EXCLUDED_MODULES)" \ CC_EXTRA_OPTS="$(CC_EXTRA_OPTS)" \ LD_EXTRA_OPTS="$(LD_EXTRA_OPTS)" \ group_include="kstandard" quiet=verbose ```
right now using: ``` override_dh_auto_configure: dh_auto_configure -- \ -DCC_EXTRA_OPTS='"$(CC_EXTRA_OPTS)"' \ -DLD_EXTRA_OPTS='"$(LD_EXTRA_OPTS)"' \ -DINCLUDE_MODULES='"$(PACKAGE_GROUPS) $(EXTRA_GROUPS)"' \ -DEXCLUDE_MODULES='"$(EXCLUDED_MODULES) $(EXTRA_EXCLUDED_MODULES)"' ``` That's producing: ``` cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb PKG_CONFIG=/usr/bin/pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu "-DCC_EXTRA_OPTS="-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVERSION_NODATE"" "-DLD_EXTRA_OPTS="-Wl,-z,relro -Wl,-z,now"" "-DINCLUDE_MODULES="mysql postgres berkeley unixodbc radius presence ldap xml perl utils lua memcached snmpstats carrierroute xmpp cpl redis geoip2 sqlite json ruby ims sctp tls outbound websocket autheph kazoo cnxcc erlang systemd phonenum mongodb rabbitmq python3 mqtt secsipid lwsc nats tls_wolfssl microhttpd kafka ev gzcompress jansson uuid http_async"" "-DEXCLUDE_MODULES="mono geoip bdb dbtext oracle pa iptrtpproxy dnssec java python"" .. ```
Full build log: [kamailio_6.0.0~dev3_amd64.build.txt](https://github.com/user-attachments/files/18078651/kamailio_6.0.0.dev3_amd64...)
I'm getting: ``CFG_DIR="/usr//etc/kamailio/"`` ``` -- Compile definitions for common: FAST_LOCK;ADAPTIVE_WAIT;ADAPTIVE_WAIT_LOOPS=1024;USE_TCP;USE_TLS;TLS_HOOKS;USE_NAPTR;USE_DNS_CACHE;F_MALLOC;Q_MALLOC;TLSF_MALLOC;MALLOC_STATS;DBG_SR_MEMORY;USE_DNS_FAILOVER;USE_DST_BLOCKLIST;HAVE_RESOLV_RES;USE_MCAST;DISABLE_NAGLE;DNS_IP_HACK;SHM_MMAP;PKG_MALLOC;RAW_SOCKS;KSR_PTHREAD_MUTEX_SHARED;FMSTATS;KMSTATS;CC_GCC_LIKE_ASM;HAVE_GETHOSTBYNAME2;HAVE_UNION_SEMUN;HAVE_SCHED_YIELD;HAVE_MSG_NOSIGNAL;HAVE_MSGHDR_MSG_CONTROL;HAVE_ALLOCA_H;HAVE_TIMEGM;HAVE_SCHED_SETSCHEDULER;HAVE_IP_MREQN;USE_RAW_SOCKS;HAVE_SELECT;HAVE_EPOLL;HAVE_SIGIO_RT;SIGINFO64_WORKAROUND;USE_FUTEX;NAME="kamailio";VERSION="6.0.0-dev2";ARCH="x86_64";OS=Linux;OS_QUOTED="Linux";COMPILER="14.2.0";__CPU_x86_64;__OS_linux;VERSIONVAL=6000000;CFG_DIR="/usr//etc/kamailio/";SHARE_DIR="/usr/share/kamailio/";RUN_DIR="//var/run/kamailio";USE_FUTEX;PIC;$<$BOOL:ON:USE_SCTP>;$<$BOOL:ON:STATISTICS> ```