The man file is installed as input file and not processed by the buildsystem. Here some examples: LIBVIRTD.POD.IN(8) Virtualization Support LIBVIRTD.POD.IN(8) NAME libvirtd - libvirtd management daemon SYNOPSIS FILES @sysconfdir@/libvirtd.conf The default configuration file used by libvirtd, unless overridden on the command line using the -f|--config option. @localstatedir@/run/libvirt/libvirt-sock @localstatedir@/run/libvirt/libvirt-sock-ro The sockets libvirtd will use when run as root. $HOME/.libvirt/libvirt-sock The socket libvirtd will use when run as a non-root user. @sysconfdir@/pki/CA/cacert.pem The TLS Certificate Authority certificate libvirtd will use. @sysconfdir@/pki/libvirt/servercert.pem The TLS Server certificate libvirtd will use. @sysconfdir@/pki/libvirt/private/serverkey.pem The TLS Server private key libvirtd will use.
sed \ -e 's![@]sysconfdir[@]!/etc!g' \ -e 's![@]localstatedir[@]!/var!g' \ -e 's![@]remote_pid_file[@]!!g' \ < libvirtd.8.in > libvirtd.8-t I see that during the build so I'm unsure what's going wrong. It must be because of the [ ]
The problem is, that the libvirtd.8.in doesn't contain @sysconfdir@. .ie n .IP "\fI\fI@sysconfdir\fI@/libvirtd.conf\fR" 4 .el .IP "\fI\f(CI@sysconfdir\fI@/libvirtd.conf\fR" 4 .IX Item "/etc/libvirtd.conf" The default configuration file used by libvirtd, unless overridden on the command line using the \fB\-f\fR|\fB\-\-config\fR option. .ie n .IP "\fI\fI@localstatedir\fI@/run/libvirt/libvirt\-sock\fR" 4 .el .IP "\fI\f(CI@localstatedir\fI@/run/libvirt/libvirt\-sock\fR" 4 .IX Item "/var/run/libvirt/libvirt-sock" .PD 0 .ie n .IP "\fI\fI@localstatedir\fI@/run/libvirt/libvirt\-sock\-ro\fR" 4 .el .IP "\fI\f(CI@localstatedir\fI@/run/libvirt/libvirt\-sock\-ro\fR" 4 .IX Item "/var/run/libvirt/libvirt-sock-ro" .PD The sockets libvirtd will use when \fBrun as root\fR. .ie n .IP "\fI\fI$HOME\fI/.libvirt/libvirt\-sock\fR" 4 .el .IP "\fI\f(CI$HOME\fI/.libvirt/libvirt\-sock\fR" 4 .IX Item "$HOME/.libvirt/libvirt-sock" The socket libvirtd will use when run as a \fBnon-root\fR user. .ie n .IP "\fI\fI@sysconfdir\fI@/pki/CA/cacert.pem\fR" 4 .el .IP "\fI\f(CI@sysconfdir\fI@/pki/CA/cacert.pem\fR" 4 .IX Item "/etc/pki/CA/cacert.pem" The \s-1TLS\s0 \fBCertificate Authority\fR certificate libvirtd will use. .ie n .IP "\fI\fI@sysconfdir\fI@/pki/libvirt/servercert.pem\fR" 4 .el .IP "\fI\f(CI@sysconfdir\fI@/pki/libvirt/servercert.pem\fR" 4 .IX Item "/etc/pki/libvirt/servercert.pem" The \s-1TLS\s0 \fBServer\fR certificate libvirtd will use. .ie n .IP "\fI\fI@sysconfdir\fI@/pki/libvirt/private/serverkey.pem\fR" 4 .el .IP "\fI\f(CI@sysconfdir\fI@/pki/libvirt/private/serverkey.pem\fR" 4 .IX Item "/etc/pki/libvirt/private/serverkey.pem" The \s-1TLS\s0 \fBServer\fR private key libvirtd will use. .ie n .IP "\fI\fI@remote_pid_file\fI@\fR" 4 .el .IP "\fI\f(CI@remote_pid_file\fI@\fR" 4
Well we've got the issue with it always having ".pod.in" at the end of libvirtd taken care of. But the sed issue still hasn't been upstreamed. I'll try to get this fixed for 0.10.0.
I've submitted a series of 4 patches upstream to fix the remaining issues with the man page as well as update the output of libvirtd --help to match what the code is actually doing. If I create another libvirt-0.9.13 bump, I'll include them. Otherwise it should be fixed by 0.10.0.
I've added 0.10.1 to the tree which contains all this fixed.