summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-07-16 18:56:57 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-07-16 18:56:57 +0100
commitf2ea617e224cd82496e56a41b5878063d6f02e3d (patch)
tree7ff2d82dc35b4e66bfbb65fdf1462ee9fb9532c9
parentc7d342a94a89324be2f568c940ba089fdd5aa0c0 (diff)
downloadlibguestfs-f2ea617e224cd82496e56a41b5878063d6f02e3d.tar.gz
libguestfs-f2ea617e224cd82496e56a41b5878063d6f02e3d.tar.xz
libguestfs-f2ea617e224cd82496e56a41b5878063d6f02e3d.zip
build: Change calls to podwrapper.sh to use $(PODWRAPPER).
This will allow us to easily change the location of this script in future.
-rw-r--r--align/Makefile.am2
-rw-r--r--appliance/Makefile.am2
-rw-r--r--cat/Makefile.am6
-rw-r--r--configure.ac4
-rw-r--r--df/Makefile.am2
-rw-r--r--edit/Makefile.am2
-rw-r--r--erlang/examples/Makefile.am2
-rw-r--r--examples/Makefile.am10
-rw-r--r--fish/Makefile.am10
-rw-r--r--format/Makefile.am2
-rw-r--r--fuse/Makefile.am2
-rw-r--r--inspector/Makefile.am2
-rw-r--r--java/examples/Makefile.am2
-rw-r--r--ocaml/examples/Makefile.am2
-rw-r--r--perl/examples/Makefile.am2
-rw-r--r--po-docs/ja/Makefile.am10
-rw-r--r--po-docs/uk/Makefile.am10
-rw-r--r--python/examples/Makefile.am2
-rw-r--r--rescue/Makefile.am2
-rw-r--r--resize/Makefile.am2
-rw-r--r--ruby/examples/Makefile.am2
-rw-r--r--sparsify/Makefile.am2
-rw-r--r--src/Makefile.am2
-rw-r--r--sysprep/Makefile.am2
-rw-r--r--test-tool/Makefile.am2
-rw-r--r--tools/Makefile.am4
26 files changed, 48 insertions, 44 deletions
diff --git a/align/Makefile.am b/align/Makefile.am
index a9272cd2..3e1cc893 100644
--- a/align/Makefile.am
+++ b/align/Makefile.am
@@ -62,7 +62,7 @@ noinst_DATA = $(top_builddir)/html/virt-alignment-scan.1.html
virt-alignment-scan.1 $(top_builddir)/html/virt-alignment-scan.1.html: stamp-virt-alignment-scan.pod
stamp-virt-alignment-scan.pod: virt-alignment-scan.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man virt-alignment-scan.1 \
--html $(top_builddir)/html/virt-alignment-scan.1.html \
$<
diff --git a/appliance/Makefile.am b/appliance/Makefile.am
index 59589971..0a9f7ae3 100644
--- a/appliance/Makefile.am
+++ b/appliance/Makefile.am
@@ -97,7 +97,7 @@ man_MANS = libguestfs-make-fixed-appliance.1
libguestfs-make-fixed-appliance.1 $(top_builddir)/html/libguestfs-make-fixed-appliance.1.html: stamp-libguestfs-make-fixed-appliance.pod
stamp-libguestfs-make-fixed-appliance.pod: libguestfs-make-fixed-appliance.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man libguestfs-make-fixed-appliance.1 \
--html $(top_builddir)/html/libguestfs-make-fixed-appliance.1.html \
$<
diff --git a/cat/Makefile.am b/cat/Makefile.am
index 66c6a91c..e3250ae9 100644
--- a/cat/Makefile.am
+++ b/cat/Makefile.am
@@ -102,7 +102,7 @@ noinst_DATA = \
virt-cat.1 $(top_builddir)/html/virt-cat.1.html: stamp-virt-cat.pod
stamp-virt-cat.pod: virt-cat.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man virt-cat.1 \
--html $(top_builddir)/html/virt-cat.1.html \
$<
@@ -111,7 +111,7 @@ stamp-virt-cat.pod: virt-cat.pod
virt-ls.1 $(top_builddir)/html/virt-ls.1.html: stamp-virt-ls.pod
stamp-virt-ls.pod: virt-ls.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man virt-ls.1 \
--html $(top_builddir)/html/virt-ls.1.html \
$<
@@ -120,7 +120,7 @@ stamp-virt-ls.pod: virt-ls.pod
virt-filesystems.1 $(top_builddir)/html/virt-filesystems.1.html: stamp-virt-filesystems.pod
stamp-virt-filesystems.pod: virt-filesystems.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man virt-filesystems.1 \
--html $(top_builddir)/html/virt-filesystems.1.html \
$<
diff --git a/configure.ac b/configure.ac
index 8e871470..df7f36c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -481,6 +481,10 @@ else
fi
AC_SUBST([POD2_UTF8_OPTION])
+dnl Define the path to the podwrapper program.
+PODWRAPPER="$(pwd)/podwrapper.sh"
+AC_SUBST([PODWRAPPER])
+
dnl Check for genisoimage/mkisofs
AC_PATH_PROGS([GENISOIMAGE],[genisoimage mkisofs],[no],
[$PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin])
diff --git a/df/Makefile.am b/df/Makefile.am
index 4e153358..7776110a 100644
--- a/df/Makefile.am
+++ b/df/Makefile.am
@@ -66,7 +66,7 @@ noinst_DATA = $(top_builddir)/html/virt-df.1.html
virt-df.1 $(top_builddir)/html/virt-df.1.html: stamp-virt-df.pod
stamp-virt-df.pod: virt-df.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man virt-df.1 \
--html $(top_builddir)/html/virt-df.1.html \
$<
diff --git a/edit/Makefile.am b/edit/Makefile.am
index 7efbdff5..889d6d9a 100644
--- a/edit/Makefile.am
+++ b/edit/Makefile.am
@@ -58,7 +58,7 @@ noinst_DATA = $(top_builddir)/html/virt-edit.1.html
virt-edit.1 $(top_builddir)/html/virt-edit.1.html: stamp-virt-edit.pod
stamp-virt-edit.pod: virt-edit.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man virt-edit.1 \
--html $(top_builddir)/html/virt-edit.1.html \
$<
diff --git a/erlang/examples/Makefile.am b/erlang/examples/Makefile.am
index 724e7f5a..56f3ae80 100644
--- a/erlang/examples/Makefile.am
+++ b/erlang/examples/Makefile.am
@@ -29,7 +29,7 @@ noinst_DATA = $(top_builddir)/html/guestfs-erlang.3.html
guestfs-erlang.3 $(top_builddir)/html/guestfs-erlang.3.html: stamp-guestfs-erlang.pod
stamp-guestfs-erlang.pod: guestfs-erlang.pod create_disk.erl inspect_vm.erl
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--section 3 \
--man guestfs-erlang.3 \
--html $(top_builddir)/html/guestfs-erlang.3.html \
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 81f22747..3c325d43 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -118,7 +118,7 @@ noinst_DATA = \
guestfs-examples.3 $(top_builddir)/html/guestfs-examples.3.html: stamp-guestfs-examples.pod
stamp-guestfs-examples.pod: guestfs-examples.pod create_disk.c inspect_vm.c
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--section 3 \
--man guestfs-examples.3 \
--html $(top_builddir)/html/guestfs-examples.3.html \
@@ -130,7 +130,7 @@ stamp-guestfs-examples.pod: guestfs-examples.pod create_disk.c inspect_vm.c
guestfs-faq.1 $(top_builddir)/html/guestfs-faq.1.html: stamp-guestfs-faq.pod
stamp-guestfs-faq.pod: guestfs-faq.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--section 1 \
--man guestfs-faq.1 \
--html $(top_builddir)/html/guestfs-faq.1.html \
@@ -140,7 +140,7 @@ stamp-guestfs-faq.pod: guestfs-faq.pod
guestfs-performance.1 $(top_builddir)/html/guestfs-performance.1.html: stamp-guestfs-performance.pod
stamp-guestfs-performance.pod: guestfs-performance.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--section 1 \
--man guestfs-performance.1 \
--html $(top_builddir)/html/guestfs-performance.1.html \
@@ -150,7 +150,7 @@ stamp-guestfs-performance.pod: guestfs-performance.pod
guestfs-recipes.1 $(top_builddir)/html/guestfs-recipes.1.html: stamp-guestfs-recipes.pod
stamp-guestfs-recipes.pod: guestfs-recipes.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--section 1 \
--man guestfs-recipes.1 \
--html $(top_builddir)/html/guestfs-recipes.1.html \
@@ -160,7 +160,7 @@ stamp-guestfs-recipes.pod: guestfs-recipes.pod
guestfs-testing.1 $(top_builddir)/html/guestfs-testing.1.html: stamp-guestfs-testing.pod
stamp-guestfs-testing.pod: guestfs-testing.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--section 1 \
--man guestfs-testing.1 \
--html $(top_builddir)/html/guestfs-testing.1.html \
diff --git a/fish/Makefile.am b/fish/Makefile.am
index 487315b4..abf1b8ed 100644
--- a/fish/Makefile.am
+++ b/fish/Makefile.am
@@ -173,7 +173,7 @@ noinst_DATA = \
guestfish.1 $(top_builddir)/html/guestfish.1.html: stamp-guestfish.pod
stamp-guestfish.pod: guestfish.pod guestfish-actions.pod guestfish-commands.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man guestfish.1 \
--html $(top_builddir)/html/guestfish.1.html \
--insert $(srcdir)/guestfish-actions.pod:@ACTIONS@ \
@@ -184,7 +184,7 @@ stamp-guestfish.pod: guestfish.pod guestfish-actions.pod guestfish-commands.pod
virt-copy-in.1 $(top_builddir)/html/virt-copy-in.1.html: stamp-virt-copy-in.pod
stamp-virt-copy-in.pod: virt-copy-in.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man virt-copy-in.1 \
--html $(top_builddir)/html/virt-copy-in.1.html \
$<
@@ -193,7 +193,7 @@ stamp-virt-copy-in.pod: virt-copy-in.pod
virt-copy-out.1 $(top_builddir)/html/virt-copy-out.1.html: stamp-virt-copy-out.pod
stamp-virt-copy-out.pod: virt-copy-out.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man virt-copy-out.1 \
--html $(top_builddir)/html/virt-copy-out.1.html \
$<
@@ -202,7 +202,7 @@ stamp-virt-copy-out.pod: virt-copy-out.pod
virt-tar-in.1 $(top_builddir)/html/virt-tar-in.1.html: stamp-virt-tar-in.pod
stamp-virt-tar-in.pod: virt-tar-in.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man virt-tar-in.1 \
--html $(top_builddir)/html/virt-tar-in.1.html \
$<
@@ -211,7 +211,7 @@ stamp-virt-tar-in.pod: virt-tar-in.pod
virt-tar-out.1 $(top_builddir)/html/virt-tar-out.1.html: stamp-virt-tar-out.pod
stamp-virt-tar-out.pod: virt-tar-out.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man virt-tar-out.1 \
--html $(top_builddir)/html/virt-tar-out.1.html \
$<
diff --git a/format/Makefile.am b/format/Makefile.am
index 4bfed1d6..05b14ec9 100644
--- a/format/Makefile.am
+++ b/format/Makefile.am
@@ -59,7 +59,7 @@ noinst_DATA = $(top_builddir)/html/virt-format.1.html
virt-format.1 $(top_builddir)/html/virt-format.1.html: stamp-virt-format.pod
stamp-virt-format.pod: virt-format.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man virt-format.1 \
--html $(top_builddir)/html/virt-format.1.html \
$<
diff --git a/fuse/Makefile.am b/fuse/Makefile.am
index 706643ad..442451a0 100644
--- a/fuse/Makefile.am
+++ b/fuse/Makefile.am
@@ -64,7 +64,7 @@ noinst_DATA = $(top_builddir)/html/guestmount.1.html
guestmount.1 $(top_builddir)/html/guestmount.1.html: stamp-guestmount.pod
stamp-guestmount.pod: guestmount.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man guestmount.1 \
--html $(top_builddir)/html/guestmount.1.html \
$<
diff --git a/inspector/Makefile.am b/inspector/Makefile.am
index df870c8b..54a551c6 100644
--- a/inspector/Makefile.am
+++ b/inspector/Makefile.am
@@ -84,7 +84,7 @@ noinst_DATA = $(top_builddir)/html/virt-inspector.1.html
virt-inspector.1 $(top_builddir)/html/virt-inspector.1.html: stamp-virt-inspector.pod
stamp-virt-inspector.pod: virt-inspector.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man virt-inspector.1 \
--html $(top_builddir)/html/virt-inspector.1.html \
$<
diff --git a/java/examples/Makefile.am b/java/examples/Makefile.am
index 80c2cb3a..15d20d82 100644
--- a/java/examples/Makefile.am
+++ b/java/examples/Makefile.am
@@ -31,7 +31,7 @@ noinst_DATA = $(top_builddir)/html/guestfs-java.3.html
guestfs-java.3 $(top_builddir)/html/guestfs-java.3.html: stamp-guestfs-java.pod
stamp-guestfs-java.pod: guestfs-java.pod CreateDisk.java InspectVM.java
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--section 3 \
--man guestfs-java.3 \
--html $(top_builddir)/html/guestfs-java.3.html \
diff --git a/ocaml/examples/Makefile.am b/ocaml/examples/Makefile.am
index da9b8c07..e435d04d 100644
--- a/ocaml/examples/Makefile.am
+++ b/ocaml/examples/Makefile.am
@@ -31,7 +31,7 @@ noinst_DATA = $(top_builddir)/html/guestfs-ocaml.3.html
guestfs-ocaml.3 $(top_builddir)/html/guestfs-ocaml.3.html: stamp-guestfs-ocaml.pod
stamp-guestfs-ocaml.pod: guestfs-ocaml.pod create_disk.ml inspect_vm.ml
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--section 3 \
--man guestfs-ocaml.3 \
--html $(top_builddir)/html/guestfs-ocaml.3.html \
diff --git a/perl/examples/Makefile.am b/perl/examples/Makefile.am
index 472f0b01..fb52eca3 100644
--- a/perl/examples/Makefile.am
+++ b/perl/examples/Makefile.am
@@ -29,7 +29,7 @@ noinst_DATA = $(top_builddir)/html/guestfs-perl.3.html
guestfs-perl.3 $(top_builddir)/html/guestfs-perl.3.html: stamp-guestfs-perl.pod
stamp-guestfs-perl.pod: guestfs-perl.pod create_disk.pl inspect_vm.pl
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--section 3 \
--man guestfs-perl.3 \
--html $(top_builddir)/html/guestfs-perl.3.html \
diff --git a/po-docs/ja/Makefile.am b/po-docs/ja/Makefile.am
index 5a1c7e43..30d226a2 100644
--- a/po-docs/ja/Makefile.am
+++ b/po-docs/ja/Makefile.am
@@ -57,7 +57,7 @@ EXTRA_DIST = \
all-local: $(MANPAGES)
guestfs.3: guestfs.pod guestfs-actions.pod guestfs-availability.pod guestfs-structs.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--section 3 \
--man $@ \
--insert $(srcdir)/guestfs-actions.pod:@ACTIONS@ \
@@ -66,14 +66,14 @@ guestfs.3: guestfs.pod guestfs-actions.pod guestfs-availability.pod guestfs-stru
$<
guestfish.1: guestfish.pod guestfish-actions.pod guestfish-commands.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man $@ \
--insert $(srcdir)/guestfish-actions.pod:@ACTIONS@ \
--insert $(srcdir)/guestfish-commands.pod:@FISH_COMMANDS@ \
$<
virt-sysprep.1: virt-sysprep.pod sysprep-extra-options.pod sysprep-operations.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man virt-sysprep.1 \
--insert sysprep-extra-options.pod:@EXTRA_OPTIONS@ \
--insert sysprep-operations.pod:@OPERATIONS@ \
@@ -81,10 +81,10 @@ virt-sysprep.1: virt-sysprep.pod sysprep-extra-options.pod sysprep-operations.po
$<
%.1: %.pod
- $(top_builddir)/podwrapper.sh --man $@ $<
+ $(PODWRAPPER) --man $@ $<
%.1: %.pl
- $(top_builddir)/podwrapper.sh --man $@ $<
+ $(PODWRAPPER) --man $@ $<
# Ensure that the first time we build from git, since guestfs.pod
# hasn't been built yet, build it.
diff --git a/po-docs/uk/Makefile.am b/po-docs/uk/Makefile.am
index 5a1c7e43..30d226a2 100644
--- a/po-docs/uk/Makefile.am
+++ b/po-docs/uk/Makefile.am
@@ -57,7 +57,7 @@ EXTRA_DIST = \
all-local: $(MANPAGES)
guestfs.3: guestfs.pod guestfs-actions.pod guestfs-availability.pod guestfs-structs.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--section 3 \
--man $@ \
--insert $(srcdir)/guestfs-actions.pod:@ACTIONS@ \
@@ -66,14 +66,14 @@ guestfs.3: guestfs.pod guestfs-actions.pod guestfs-availability.pod guestfs-stru
$<
guestfish.1: guestfish.pod guestfish-actions.pod guestfish-commands.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man $@ \
--insert $(srcdir)/guestfish-actions.pod:@ACTIONS@ \
--insert $(srcdir)/guestfish-commands.pod:@FISH_COMMANDS@ \
$<
virt-sysprep.1: virt-sysprep.pod sysprep-extra-options.pod sysprep-operations.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man virt-sysprep.1 \
--insert sysprep-extra-options.pod:@EXTRA_OPTIONS@ \
--insert sysprep-operations.pod:@OPERATIONS@ \
@@ -81,10 +81,10 @@ virt-sysprep.1: virt-sysprep.pod sysprep-extra-options.pod sysprep-operations.po
$<
%.1: %.pod
- $(top_builddir)/podwrapper.sh --man $@ $<
+ $(PODWRAPPER) --man $@ $<
%.1: %.pl
- $(top_builddir)/podwrapper.sh --man $@ $<
+ $(PODWRAPPER) --man $@ $<
# Ensure that the first time we build from git, since guestfs.pod
# hasn't been built yet, build it.
diff --git a/python/examples/Makefile.am b/python/examples/Makefile.am
index efd634c5..199ee1e9 100644
--- a/python/examples/Makefile.am
+++ b/python/examples/Makefile.am
@@ -29,7 +29,7 @@ noinst_DATA = $(top_builddir)/html/guestfs-python.3.html
guestfs-python.3 $(top_builddir)/html/guestfs-python.3.html: stamp-guestfs-python.pod
stamp-guestfs-python.pod: guestfs-python.pod create_disk.py inspect_vm.py
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--section 3 \
--man guestfs-python.3 \
--html $(top_builddir)/html/guestfs-python.3.html \
diff --git a/rescue/Makefile.am b/rescue/Makefile.am
index 83c870f6..328df7e6 100644
--- a/rescue/Makefile.am
+++ b/rescue/Makefile.am
@@ -57,7 +57,7 @@ noinst_DATA = $(top_builddir)/html/virt-rescue.1.html
virt-rescue.1 $(top_builddir)/html/virt-rescue.1.html: stamp-virt-rescue.pod
stamp-virt-rescue.pod: virt-rescue.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man virt-rescue.1 \
--html $(top_builddir)/html/virt-rescue.1.html \
$<
diff --git a/resize/Makefile.am b/resize/Makefile.am
index 70ace37d..0d80df14 100644
--- a/resize/Makefile.am
+++ b/resize/Makefile.am
@@ -92,7 +92,7 @@ noinst_DATA = $(top_builddir)/html/virt-resize.1.html
virt-resize.1 $(top_builddir)/html/virt-resize.1.html: stamp-virt-resize.pod
stamp-virt-resize.pod: virt-resize.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man virt-resize.1 \
--html $(top_builddir)/html/virt-resize.1.html \
$<
diff --git a/ruby/examples/Makefile.am b/ruby/examples/Makefile.am
index 1e0e5a42..75fdfd21 100644
--- a/ruby/examples/Makefile.am
+++ b/ruby/examples/Makefile.am
@@ -29,7 +29,7 @@ noinst_DATA = $(top_builddir)/html/guestfs-ruby.3.html
guestfs-ruby.3 $(top_builddir)/html/guestfs-ruby.3.html: stamp-guestfs-ruby.pod
stamp-guestfs-ruby.pod: guestfs-ruby.pod create_disk.rb inspect_vm.rb
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--section 3 \
--man guestfs-ruby.3 \
--html $(top_builddir)/html/guestfs-ruby.3.html \
diff --git a/sparsify/Makefile.am b/sparsify/Makefile.am
index bed51929..36c7b73c 100644
--- a/sparsify/Makefile.am
+++ b/sparsify/Makefile.am
@@ -91,7 +91,7 @@ noinst_DATA = $(top_builddir)/html/virt-sparsify.1.html
virt-sparsify.1 $(top_builddir)/html/virt-sparsify.1.html: stamp-virt-sparsify.pod
stamp-virt-sparsify.pod: virt-sparsify.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man virt-sparsify.1 \
--html $(top_builddir)/html/virt-sparsify.1.html \
$<
diff --git a/src/Makefile.am b/src/Makefile.am
index 30e5070e..8e2c9cde 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -206,7 +206,7 @@ stamp-guestfs.pod: guestfs.pod \
guestfs-actions.pod \
guestfs-availability.pod \
guestfs-structs.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--section 3 \
--man guestfs.3 \
--html $(top_builddir)/html/guestfs.3.html \
diff --git a/sysprep/Makefile.am b/sysprep/Makefile.am
index 2ad37aeb..8c4081ae 100644
--- a/sysprep/Makefile.am
+++ b/sysprep/Makefile.am
@@ -142,7 +142,7 @@ noinst_DATA = $(top_builddir)/html/virt-sysprep.1.html
virt-sysprep.1 $(top_builddir)/html/virt-sysprep.1.html: stamp-virt-sysprep.pod
stamp-virt-sysprep.pod: virt-sysprep.pod sysprep-extra-options.pod sysprep-operations.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man virt-sysprep.1 \
--insert sysprep-extra-options.pod:@EXTRA_OPTIONS@ \
--insert sysprep-operations.pod:@OPERATIONS@ \
diff --git a/test-tool/Makefile.am b/test-tool/Makefile.am
index a418c565..ba30a752 100644
--- a/test-tool/Makefile.am
+++ b/test-tool/Makefile.am
@@ -36,7 +36,7 @@ libguestfs_test_tool_LDADD = \
libguestfs-test-tool.1 $(top_builddir)/html/libguestfs-test-tool.1.html: stamp-libguestfs-test-tool.pod
stamp-libguestfs-test-tool.pod: libguestfs-test-tool.pod
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man libguestfs-test-tool.1 \
--html $(top_builddir)/html/libguestfs-test-tool.1.html \
$<
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 2c2ad1f3..32a92e26 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -44,12 +44,12 @@ man_MANS = virt-tar.1 $(patsubst %,virt-%.1,$(filter-out tar,$(tools)))
noinst_DATA = $(tools:%=$(top_builddir)/html/virt-%.1.html)
virt-%.1: virt-%
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--man $@ \
$<
$(top_builddir)/html/virt-%.1.html: virt-%
- $(top_builddir)/podwrapper.sh \
+ $(PODWRAPPER) \
--html $@ \
$<