]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix man page file paths to real paths
authorDoug Goldstein <cardoe@cardoe.com>
Mon, 13 Aug 2012 04:44:47 +0000 (23:44 -0500)
committerDaniel Veillard <veillard@redhat.com>
Wed, 15 Aug 2012 13:40:38 +0000 (21:40 +0800)
Currently the man page has paths that start with @sysconfdir@,
@localstatedir@ and @remote_pid_file@. The sed command attempts to
replace these during the build but unfortunately pod2man gets to the
files first and escapes the @ character resulting in the sed not
working. This removes the @ character and makes the paths correct.

daemon/Makefile.am
daemon/libvirtd.pod.in

index 928aeaf47b88a1ac30172f27a6918e5305fb854f..c15c785c637658ec2aba5397f0ad77de279e82fc 100644 (file)
@@ -85,9 +85,9 @@ CLEANFILES += test_libvirtd.aug
 
 libvirtd.8: $(srcdir)/libvirtd.8.in
        sed \
-           -e 's![@]sysconfdir[@]!$(sysconfdir)!g' \
-           -e 's![@]localstatedir[@]!$(localstatedir)!g' \
-           -e 's![@]remote_pid_file[@]!$(REMOTE_PID_FILE)!g' \
+           -e 's!SYSCONFDIR!$(sysconfdir)!g' \
+           -e 's!LOCALSTATEDIR!$(localstatedir)!g' \
+           -e 's!REMOTE_PID_FILE!$(REMOTE_PID_FILE)!g' \
            < $< > $@-t
        mv $@-t $@
 
index 57a3b27076d95a06397d6e884d6c314e93ca1677..7dc8d83eaf6d938a6d45a0ba986d4eafb5671002 100644 (file)
@@ -77,14 +77,14 @@ On receipt of B<SIGHUP> libvirtd will reload its configuration.
 
 =over
 
-=item F<@sysconfdir@/libvirtd.conf>
+=item F<SYSCONFDIR/libvirtd.conf>
 
 The default configuration file used by libvirtd, unless overridden on the
 command line using the B<-f>|B<--config> option.
 
-=item F<@localstatedir@/run/libvirt/libvirt-sock>
+=item F<LOCALSTATEDIR/run/libvirt/libvirt-sock>
 
-=item F<@localstatedir@/run/libvirt/libvirt-sock-ro>
+=item F<LOCALSTATEDIR/run/libvirt/libvirt-sock-ro>
 
 The sockets libvirtd will use when B<run as root>.
 
@@ -92,19 +92,19 @@ The sockets libvirtd will use when B<run as root>.
 
 The socket libvirtd will use when run as a B<non-root> user.
 
-=item F<@sysconfdir@/pki/CA/cacert.pem>
+=item F<SYSCONFDIR/pki/CA/cacert.pem>
 
 The TLS B<Certificate Authority> certificate libvirtd will use.
 
-=item F<@sysconfdir@/pki/libvirt/servercert.pem>
+=item F<SYSCONFDIR/pki/libvirt/servercert.pem>
 
 The TLS B<Server> certificate libvirtd will use.
 
-=item F<@sysconfdir@/pki/libvirt/private/serverkey.pem>
+=item F<SYSCONFDIR/pki/libvirt/private/serverkey.pem>
 
 The TLS B<Server> private key libvirtd will use.
 
-=item F<@remote_pid_file@>
+=item F<REMOTE_PID_FILE>
 
 The PID file to use, unless overridden by the B<-p>|B<--pid-file> option.
 
@@ -121,8 +121,8 @@ To retrieve the version of libvirtd:
 To start libvirtd, instructing it to daemonize and create a PID file:
 
  # libvirtd -d
- # ls -la @remote_pid_file@
- -rw-r--r-- 1 root root 6 Jul  9 02:40 @remote_pid_file@
+ # ls -la REMOTE_PID_FILE
+ -rw-r--r-- 1 root root 6 Jul  9 02:40 REMOTE_PID_FILE
  #
 
 =head1 BUGS