[Libguestfs] [PATCH 2/6] out-of-tree build: remove unneeded explicit paths

Hilko Bengen bengen at hilluzination.de
Tue Aug 16 22:41:58 UTC 2011


---
 examples/Makefile.am  |    4 ++--
 fish/Makefile.am      |    8 ++++----
 test-tool/Makefile.am |    2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/examples/Makefile.am b/examples/Makefile.am
index df5cc71..03870cb 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -64,7 +64,7 @@ noinst_DATA = \
 
 guestfs-examples.3 $(top_builddir)/html/guestfs-examples.3.html: stamp-guestfs-examples.pod
 
-stamp-guestfs-examples.pod: $(srcdir)/guestfs-examples.pod $(srcdir)/create_disk.c $(srcdir)/inspect_vm.c
+stamp-guestfs-examples.pod: guestfs-examples.pod create_disk.c inspect_vm.c
 	$(top_builddir)/podwrapper.sh \
 	  --section 3 \
 	  --man guestfs-examples.3 \
@@ -76,7 +76,7 @@ stamp-guestfs-examples.pod: $(srcdir)/guestfs-examples.pod $(srcdir)/create_disk
 
 guestfs-recipes.1 $(top_builddir)/html/guestfs-recipes.1.html: stamp-guestfs-recipes.pod
 
-stamp-guestfs-recipes.pod: $(builddir)/guestfs-recipes.pod
+stamp-guestfs-recipes.pod: guestfs-recipes.pod
 	$(top_builddir)/podwrapper.sh \
 	  --section 1 \
 	  --man guestfs-recipes.1 \
diff --git a/fish/Makefile.am b/fish/Makefile.am
index 6018868..a7a597b 100644
--- a/fish/Makefile.am
+++ b/fish/Makefile.am
@@ -180,7 +180,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: $(srcdir)/virt-copy-in.pod
+stamp-virt-copy-in.pod: virt-copy-in.pod
 	$(top_builddir)/podwrapper.sh \
 	  --man virt-copy-in.1 \
 	  --html $(top_builddir)/html/virt-copy-in.1.html \
@@ -189,7 +189,7 @@ stamp-virt-copy-in.pod: $(srcdir)/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: $(srcdir)/virt-copy-out.pod
+stamp-virt-copy-out.pod: virt-copy-out.pod
 	$(top_builddir)/podwrapper.sh \
 	  --man virt-copy-out.1 \
 	  --html $(top_builddir)/html/virt-copy-out.1.html \
@@ -198,7 +198,7 @@ stamp-virt-copy-out.pod: $(srcdir)/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: $(srcdir)/virt-tar-in.pod
+stamp-virt-tar-in.pod: virt-tar-in.pod
 	$(top_builddir)/podwrapper.sh \
 	  --man virt-tar-in.1 \
 	  --html $(top_builddir)/html/virt-tar-in.1.html \
@@ -207,7 +207,7 @@ stamp-virt-tar-in.pod: $(srcdir)/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: $(srcdir)/virt-tar-out.pod
+stamp-virt-tar-out.pod: virt-tar-out.pod
 	$(top_builddir)/podwrapper.sh \
 	  --man virt-tar-out.1 \
 	  --html $(top_builddir)/html/virt-tar-out.1.html \
diff --git a/test-tool/Makefile.am b/test-tool/Makefile.am
index af1bffb..16daa7f 100644
--- a/test-tool/Makefile.am
+++ b/test-tool/Makefile.am
@@ -33,7 +33,7 @@ libguestfs_test_tool_CFLAGS = \
 libguestfs_test_tool_LDADD = \
 	$(top_builddir)/src/libguestfs.la
 
-libguestfs-test-tool.1: $(builddir)/libguestfs-test-tool.pod
+libguestfs-test-tool.1: libguestfs-test-tool.pod
 	$(top_builddir)/podwrapper.sh \
 	  --man $@ \
 	  $<
-- 
1.7.5.4




More information about the Libguestfs mailing list