summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndrea Bolognani <abologna@redhat.com>2016-04-12 22:28:27 +0200
committerAndrea Bolognani <abologna@redhat.com>2016-04-25 15:40:44 +0200
commit5b479f3b5b82f25fe74c539009603685b971f8c9 (patch)
tree9354a96d26504990daf048536dd7c5f0eb5cca56 /tools
parent9b77ce63f1d7148feb5155188615cf9151ab3002 (diff)
downloadlibvirt-5b479f3b5b82f25fe74c539009603685b971f8c9.tar.gz
build: Standardize on .pod -> .x.in -> .x
After this commit, all man pages are generated using the same two steps: 1. Process a source $command.pod file with pod2man(1) to obtain a valid man page in $command.$section.in 2. Process $command.$section.in with sed(1) to obtain the final man page in $command.$section
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 64212d5c40..5b4c9e3bf9 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -28,8 +28,6 @@ AM_LDFLAGS = \
$(NO_INDIRECT_LDFLAGS) \
$(NULL)
-POD2MAN = pod2man -c "Virtualization Support" -r "$(PACKAGE)-$(VERSION)"
-
ICON_FILES = \
libvirt_win_icon_16x16.ico \
libvirt_win_icon_32x32.ico \
@@ -273,6 +271,8 @@ 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) $< $@ \
&& if grep 'POD ERROR' $@ ; then rm $@; exit 1; fi