mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
build: Perform post-processing on all man pages
Man pages in daemon/ and src/ are being already subjected to this post-processing step: make it so those in tools/ are as well.
This commit is contained in:
parent
90709d8d22
commit
9b77ce63f1
@ -51,6 +51,13 @@ EXTRA_DIST = \
|
|||||||
virt-sanlock-cleanup.pod \
|
virt-sanlock-cleanup.pod \
|
||||||
virt-xml-validate.pod \
|
virt-xml-validate.pod \
|
||||||
virsh.pod \
|
virsh.pod \
|
||||||
|
virt-admin.1.in \
|
||||||
|
virt-host-validate.1.in \
|
||||||
|
virt-login-shell.1.in \
|
||||||
|
virt-pki-validate.1.in \
|
||||||
|
virt-sanlock-cleanup.8.in \
|
||||||
|
virt-xml-validate.1.in \
|
||||||
|
virsh.1.in \
|
||||||
libvirt-guests.sysconf \
|
libvirt-guests.sysconf \
|
||||||
virsh-edit.c \
|
virsh-edit.c \
|
||||||
virsh-domain.c \
|
virsh-domain.c \
|
||||||
@ -266,14 +273,28 @@ virsh_win_icon.$(OBJEXT): virsh_win_icon.rc
|
|||||||
--output-format coff --output $@
|
--output-format coff --output $@
|
||||||
endif WITH_WIN_ICON
|
endif WITH_WIN_ICON
|
||||||
|
|
||||||
%.1: %.pod $(top_srcdir)/configure.ac
|
%.1.in: %.pod
|
||||||
$(AM_V_GEN)$(POD2MAN) $< $@ \
|
$(AM_V_GEN)$(POD2MAN) $< $@ \
|
||||||
&& if grep 'POD ERROR' $@ ; then rm $@; exit 1; fi
|
&& if grep 'POD ERROR' $@ ; then rm $@; exit 1; fi
|
||||||
|
|
||||||
%.8: %.pod $(top_srcdir)/configure.ac
|
%.8.in: %.pod
|
||||||
$(AM_V_GEN)$(POD2MAN) --section=8 $< $@ \
|
$(AM_V_GEN)$(POD2MAN) --section=8 $< $@ \
|
||||||
&& if grep 'POD ERROR' $@ ; then rm $@; exit 1; fi
|
&& if grep 'POD ERROR' $@ ; then rm $@; exit 1; fi
|
||||||
|
|
||||||
|
%.1: %.1.in $(top_srcdir)/configure.ac
|
||||||
|
$(AM_V_GEN)sed \
|
||||||
|
-e 's|[@]sysconfdir[@]|$(sysconfdir)|g' \
|
||||||
|
-e 's|[@]localstatedir[@]|$(localstatedir)|g' \
|
||||||
|
< $< > $@-t && \
|
||||||
|
mv $@-t $@
|
||||||
|
|
||||||
|
%.8: %.8.in $(top_srcdir)/configure.ac
|
||||||
|
$(AM_V_GEN)sed \
|
||||||
|
-e 's|[@]sysconfdir[@]|$(sysconfdir)|g' \
|
||||||
|
-e 's|[@]localstatedir[@]|$(localstatedir)|g' \
|
||||||
|
< $< > $@-t && \
|
||||||
|
mv $@-t $@
|
||||||
|
|
||||||
install-data-local: install-init install-systemd
|
install-data-local: install-init install-systemd
|
||||||
|
|
||||||
uninstall-local: uninstall-init uninstall-systemd
|
uninstall-local: uninstall-init uninstall-systemd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user