mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 19:45:21 +00:00
build: Regenerate man pages on version bump
Whenever libvirt version changes in configure.ac, we need to regenerate man pages so that they contain correct version info.
This commit is contained in:
parent
31f1f6bf4a
commit
b8a32e0e94
@ -395,7 +395,7 @@ endif # WITH_LIBVIRTD
|
||||
POD2MAN = pod2man -c "Virtualization Support" \
|
||||
-r "$(PACKAGE)-$(VERSION)" -s 8
|
||||
|
||||
$(srcdir)/libvirtd.8.in: libvirtd.pod.in
|
||||
$(srcdir)/libvirtd.8.in: libvirtd.pod.in $(top_srcdir)/configure.ac
|
||||
$(AM_V_GEN)$(POD2MAN) --name LIBVIRTD $< $@ \
|
||||
&& if grep 'POD ERROR' $@ ; then rm $@; exit 1; fi
|
||||
|
||||
|
@ -61,7 +61,7 @@ virt-xml-validate: virt-xml-validate.in Makefile
|
||||
$(AM_V_GEN)sed -e 's|[@]schemadir@|$(pkgdatadir)/schemas|' < $< > $@ \
|
||||
|| (rm $@ && exit 1) && chmod +x $@
|
||||
|
||||
virt-xml-validate.1: virt-xml-validate.in
|
||||
virt-xml-validate.1: virt-xml-validate.in $(top_srcdir)/configure.ac
|
||||
$(AM_V_GEN)$(POD2MAN) --name VIRT-XML-VALIDATE $< $(srcdir)/$@ \
|
||||
&& if grep 'POD ERROR' $(srcdir)/$@ ; then \
|
||||
rm $(srcdir)/$@; exit 1; fi
|
||||
@ -70,12 +70,12 @@ virt-pki-validate: virt-pki-validate.in Makefile
|
||||
$(AM_V_GEN)sed -e 's|[@]sysconfdir@|$(sysconfdir)|' < $< > $@ \
|
||||
|| (rm $@ && exit 1) && chmod +x $@
|
||||
|
||||
virt-pki-validate.1: virt-pki-validate.in
|
||||
virt-pki-validate.1: virt-pki-validate.in $(top_srcdir)/configure.ac
|
||||
$(AM_V_GEN)$(POD2MAN) --name VIRT-PKI-VALIDATE $< $(srcdir)/$@ \
|
||||
&& if grep 'POD ERROR' $(srcdir)/$@ ; then \
|
||||
rm $(srcdir)/$@; exit 1; fi
|
||||
|
||||
virt-host-validate.1: virt-host-validate.c
|
||||
virt-host-validate.1: virt-host-validate.c $(top_srcdir)/configure.ac
|
||||
$(AM_V_GEN)$(POD2MAN) --name VIRT-HOST-VALIDATE $< $(srcdir)/$@ \
|
||||
&& if grep 'POD ERROR' $(srcdir)/$@ ; then \
|
||||
rm $(srcdir)/$@; exit 1; fi
|
||||
@ -85,7 +85,7 @@ virt-sanlock-cleanup: virt-sanlock-cleanup.in Makefile
|
||||
-e 's|[@]localstatedir@|$(localstatedir)|' < $< > $@ \
|
||||
|| (rm $@ && exit 1) && chmod +x $@
|
||||
|
||||
virt-sanlock-cleanup.8: virt-sanlock-cleanup.in
|
||||
virt-sanlock-cleanup.8: virt-sanlock-cleanup.in $(top_srcdir)/configure.ac
|
||||
$(AM_V_GEN)$(POD2MAN) --name VIRT-SANLOCK-CLEANUP $< $(srcdir)/$@ \
|
||||
&& if grep 'POD ERROR' $(srcdir)/$@ ; then \
|
||||
rm $(srcdir)/$@; exit 1; fi
|
||||
@ -171,7 +171,7 @@ virsh_win_icon.$(OBJEXT): virsh_win_icon.rc
|
||||
--output-format coff --output $@
|
||||
endif
|
||||
|
||||
virsh.1: virsh.pod
|
||||
virsh.1: virsh.pod $(top_srcdir)/configure.ac
|
||||
$(AM_V_GEN)$(POD2MAN) $< $(srcdir)/$@ \
|
||||
&& if grep 'POD ERROR' $(srcdir)/$@ ; then \
|
||||
rm $(srcdir)/$@; exit 1; fi
|
||||
|
Loading…
Reference in New Issue
Block a user