[Libguestfs] [PATCH 2/2] hivex: Make sure that pod2html finds the POD file when building out-of-tree

Hilko Bengen bengen at hilluzination.de
Thu Jan 16 07:22:59 UTC 2014


Otherwise we get "Can't open ..." warnings which don't seem to be fatal.
---
 regedit/Makefile.am | 2 +-
 sh/Makefile.am      | 4 ++--
 xml/Makefile.am     | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/regedit/Makefile.am b/regedit/Makefile.am
index 7977334..476c059 100644
--- a/regedit/Makefile.am
+++ b/regedit/Makefile.am
@@ -39,6 +39,6 @@ $(top_builddir)/html/hivexregedit.1.html: hivexregedit
 	  --css 'pod.css' \
 	  --htmldir html \
 	  --outfile html/hivexregedit.1.html \
-	  regedit/hivexregedit
+	  $(abs_srcdir)/hivexregedit
 
 CLEANFILES = $(man_MANS)
diff --git a/sh/Makefile.am b/sh/Makefile.am
index a6f5ae6..1c2aba8 100644
--- a/sh/Makefile.am
+++ b/sh/Makefile.am
@@ -71,7 +71,7 @@ $(top_builddir)/html/hivexget.1.html: hivexget.pod
 	  --css 'pod.css' \
 	  --htmldir html \
 	  --outfile html/hivexget.1.html \
-	  sh/hivexget.pod
+	  $(abs_srcdir)/hivexget.pod
 
 $(top_builddir)/html/hivexsh.1.html: hivexsh.pod
 	mkdir -p $(top_builddir)/html
@@ -79,6 +79,6 @@ $(top_builddir)/html/hivexsh.1.html: hivexsh.pod
 	  --css 'pod.css' \
 	  --htmldir html \
 	  --outfile html/hivexsh.1.html \
-	  sh/hivexsh.pod
+	  $(abs_srcdir)/hivexsh.pod
 
 CLEANFILES = $(man_MANS)
diff --git a/xml/Makefile.am b/xml/Makefile.am
index 67ba248..ca3f964 100644
--- a/xml/Makefile.am
+++ b/xml/Makefile.am
@@ -51,6 +51,6 @@ $(top_builddir)/html/hivexml.1.html: hivexml.pod
 	  --css 'pod.css' \
 	  --htmldir html \
 	  --outfile html/hivexml.1.html \
-	  xml/hivexml.pod
+	  $(abs_srcdir)/hivexml.pod
 
 CLEANFILES = $(man_MANS)
-- 
1.8.5.2




More information about the Libguestfs mailing list