build: virt-resize manpage.
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 9 Apr 2011 20:11:47 +0000 (21:11 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 9 Apr 2011 21:23:56 +0000 (22:23 +0100)
.gitignore
resize/Makefile.am

index 67fd7a9..7b55171 100644 (file)
@@ -281,6 +281,7 @@ regressions/test.out
 rescue/stamp-virt-rescue.pod
 rescue/virt-rescue
 rescue/virt-rescue.1
+resize/stamp-virt-resize.pod
 resize/virt-resize
 resize/virt-resize.1
 ruby/bindtests.rb
index 8ef16ff..1d341d8 100644 (file)
@@ -62,15 +62,14 @@ man_MANS = virt-resize.1
 
 noinst_DATA = $(top_builddir)/html/virt-resize.1.html
 
-virt-%.1: virt-%.pod
-       $(top_srcdir)/podwrapper.sh \
-         --man $@ \
-         $<
+virt-resize.1 $(top_builddir)/html/virt-resize.1.html: stamp-virt-resize.pod
 
-$(top_builddir)/html/virt-%.1.html: virt-%
+stamp-virt-resize.pod: virt-resize.pod
        $(top_srcdir)/podwrapper.sh \
-         --html $@ \
+         --man virt-resize.1 \
+         --html $(top_builddir)/html/virt-resize.1.html \
          $<
+       touch $@
 
 # Tests.