Thanks @xkaraman for clarification. I have added the next command and readme generated for the topos_htable.

/usr/bin/cmake --build redhat-linux-build -j 1 --target topos_htable_readme

Is it possible to add target like kamailio_docs_readme and regenerate readme files for all modules (including those listed in DINCLUDE_MODULES)? This will allow build readme, and not copy present in the repo.

Yep, that will be a nice and easy addition. Will add it soon.

Remaining files to install

File not found: /root/rpmbuild/BUILD/kamailio-6.0.0-build/BUILDROOT/etc/kamailio/dictionary.kamailio
File not found: /root/rpmbuild/BUILD/kamailio-6.0.0-build/BUILDROOT/etc/kamailio/pi_framework.xml
File not found: /root/rpmbuild/BUILD/kamailio-6.0.0-build/BUILDROOT/etc/kamailio/tls.cfg
File not found: /root/rpmbuild/BUILD/kamailio-6.0.0-build/BUILDROOT/usr/sbin/kamcmd
Directory not found: /root/rpmbuild/BUILD/kamailio-6.0.0-build/BUILDROOT/usr/lib64/kamailio/kamctl/dbtextdb
File not found: /root/rpmbuild/BUILD/kamailio-6.0.0-build/BUILDROOT/usr/lib64/kamailio/kamctl/dbtextdb/dbtextdb.py
File not found: /root/rpmbuild/BUILD/kamailio-6.0.0-build/BUILDROOT/usr/share/man/man5/*
File not found: /root/rpmbuild/BUILD/kamailio-6.0.0-build/BUILDROOT/usr/share/man/man8/*
Directory not found: /root/rpmbuild/BUILD/kamailio-6.0.0-build/BUILDROOT/usr/share/kamailio
Directory not found: /root/rpmbuild/BUILD/kamailio-6.0.0-build/BUILDROOT/usr/share/kamailio/dbtext
Directory not found: /root/rpmbuild/BUILD/kamailio-6.0.0-build/BUILDROOT/usr/share/kamailio/dbtext/kamailio
File not found: /root/rpmbuild/BUILD/kamailio-6.0.0-build/BUILDROOT/usr/share/kamailio/dbtext/kamailio/*

Hmm, nice list to look for what is not installed and needed. Will pick it up.

Looks like the command for man files generation does not work as expected

[root@nout kamailio-6.0.0-pre0]# /usr/bin/cmake --build redhat-linux-build -j 1 --target man
Change Dir: '/root/rpmbuild/BUILD/kamailio-6.0.0-build/kamailio-6.0.0-pre0/redhat-linux-build'

Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j1 man
gmake: *** No rule to make target 'man'.  Stop.

Yeah, I haven't implement yet the man target even though I added it to the available targets. Coming soon as well.

And target db_text does not install all required files. Probable required command like

make -C src/modules/db_text install-scripts

The same command is needed for modules

[root@nout kamailio-6.0.0-pre0]# find . -name "Makefile" -exec grep install-scripts {} \; | sed -e 's/.* install-//' -e 's/-scripts//'
perl
berkeley
mysql-script
mysql
oracle
pgsql
redis
sqlite
dbtext

Ahh, didn't know about this. I will see what it can be done with them.

Also required package kamcmd utility.

Sure, that one was also on the TODO list.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/4085/c2567669467@github.com>