mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 09:17:52 +03:00
docs: remove build recipes related to pod2man usage
Reviewed-by: Cole Robinson <crobinso@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
dc0d07278c
commit
e8dfddfa21
@ -265,7 +265,6 @@ BuildRequires: automake
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: libtool
|
||||
%endif
|
||||
BuildRequires: /usr/bin/pod2man
|
||||
%if 0%{?rhel} == 7
|
||||
BuildRequires: python36-docutils
|
||||
%else
|
||||
|
@ -54,8 +54,6 @@ AM_LDFLAGS_MOD = \
|
||||
$(AM_LDFLAGS)
|
||||
AM_LDFLAGS_MOD_NOUNDEF = $(AM_LDFLAGS_MOD) $(NO_UNDEFINED_LDFLAGS)
|
||||
|
||||
POD2MAN = pod2man -c "Virtualization Support" -r "$(PACKAGE)-$(VERSION)"
|
||||
|
||||
EXTRA_DIST = $(conf_DATA)
|
||||
|
||||
BUILT_SOURCES =
|
||||
@ -84,15 +82,11 @@ endif WITH_DTRACE_PROBES
|
||||
libexec_PROGRAMS =
|
||||
RPC_PROBE_FILES =
|
||||
LOGROTATE_FILES_IN =
|
||||
PODFILES =
|
||||
MANINFILES =
|
||||
SYSTEMD_UNIT_FILES =
|
||||
SYSTEMD_UNIT_FILES_IN =
|
||||
SYSCONF_FILES =
|
||||
sbin_PROGRAMS =
|
||||
man8_MANS =
|
||||
DRIVER_SOURCES =
|
||||
man7_MANS =
|
||||
|
||||
COMMON_UNIT_VARS = \
|
||||
-e 's|[@]runstatedir[@]|$(runstatedir)|g' \
|
||||
@ -586,20 +580,8 @@ UNINSTALL_LOCAL += uninstall-logrotate
|
||||
endif WITH_LIBVIRTD
|
||||
|
||||
|
||||
%.8: %.8.in $(top_srcdir)/configure.ac
|
||||
$(AM_V_GEN)sed \
|
||||
-e 's|[@]sysconfdir[@]|$(sysconfdir)|g' \
|
||||
-e 's|[@]runstatedir[@]|$(runstatedir)|g' \
|
||||
< $< > $@-t && \
|
||||
mv $@-t $@
|
||||
|
||||
CLEANFILES += \
|
||||
$(man8_MANS) \
|
||||
$(MANINFILES)
|
||||
|
||||
EXTRA_DIST += \
|
||||
$(SYSTEMD_UNIT_FILES_IN) \
|
||||
$(PODFILES) \
|
||||
$(NULL)
|
||||
|
||||
|
||||
|
@ -52,12 +52,6 @@ ICON_FILES = \
|
||||
libvirt_win_icon_64x64.ico \
|
||||
virsh_win_icon.rc
|
||||
|
||||
PODFILES = \
|
||||
$(NULL)
|
||||
|
||||
MANINFILES = \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(ICON_FILES) \
|
||||
$(conf_DATA) \
|
||||
@ -69,7 +63,6 @@ EXTRA_DIST = \
|
||||
virsh-edit.c \
|
||||
bash-completion/vsh \
|
||||
libvirt_recover_xattrs.sh \
|
||||
$(PODFILES) \
|
||||
$(NULL)
|
||||
|
||||
|
||||
@ -83,7 +76,6 @@ conf_DATA =
|
||||
bin_SCRIPTS = virt-xml-validate virt-pki-validate
|
||||
bin_PROGRAMS = virsh virt-admin
|
||||
libexec_SCRIPTS = libvirt-guests.sh
|
||||
man1_MANS =
|
||||
|
||||
if WITH_SANLOCK
|
||||
sbin_SCRIPTS = virt-sanlock-cleanup
|
||||
@ -301,42 +293,6 @@ virsh_win_icon.$(OBJEXT): virsh_win_icon.rc
|
||||
--output-format coff --output $@
|
||||
endif WITH_WIN_ICON
|
||||
|
||||
POD2MAN = pod2man -c "Virtualization Support" -r "$(PACKAGE)-$(VERSION)"
|
||||
|
||||
%.1.in: %.pod
|
||||
$(AM_V_GEN)$(POD2MAN) $< $@-t1 && \
|
||||
if grep 'POD ERROR' $@-t1; then rm $@-t1; exit 1; fi && \
|
||||
sed \
|
||||
-e 's|SYSCONFDIR|\@sysconfdir\@|g' \
|
||||
-e 's|LOCALSTATEDIR|\@localstatedir\@|g' \
|
||||
< $@-t1 > $@-t2 && \
|
||||
rm -f $@-t1 && \
|
||||
mv $@-t2 $@
|
||||
|
||||
%.8.in: %.pod
|
||||
$(AM_V_GEN)$(POD2MAN) --section=8 $< $@-t1 && \
|
||||
if grep 'POD ERROR' $@-t1; then rm $@-t1; exit 1; fi && \
|
||||
sed \
|
||||
-e 's|SYSCONFDIR|\@sysconfdir\@|g' \
|
||||
-e 's|LOCALSTATEDIR|\@localstatedir\@|g' \
|
||||
< $@-t1 > $@-t2 && \
|
||||
rm -f $@-t1 && \
|
||||
mv $@-t2 $@
|
||||
|
||||
%.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-systemd install-nss \
|
||||
install-bash-completion
|
||||
|
||||
@ -574,8 +530,5 @@ clean-local:
|
||||
|
||||
CLEANFILES += $(bin_SCRIPTS)
|
||||
CLEANFILES += *.gcov .libs/*.gcda .libs/*.gcno *.gcno *.gcda *.i *.s
|
||||
CLEANFILES += $(man1_MANS) $(man8_MANS)
|
||||
|
||||
DISTCLEANFILES += $(BUILT_SOURCES)
|
||||
|
||||
MAINTAINERCLEANFILES += $(MANINFILES)
|
||||
|
Loading…
Reference in New Issue
Block a user