summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorRichard Jones <rjones@trick.home.annexia.org>2009-09-23 12:05:55 +0100
committerRichard Jones <rjones@trick.home.annexia.org>2009-09-23 12:05:55 +0100
commit9adddc19e448781cf2076c44f66242fe48b47c7c (patch)
tree8168c0f992e7e407413100e351f4346371a9baa6 /rescue
parent154370c0e8a7bfcb6af5236bd7232794c188eabb (diff)
downloadlibguestfs-9adddc19e448781cf2076c44f66242fe48b47c7c.tar.gz
libguestfs-9adddc19e448781cf2076c44f66242fe48b47c7c.tar.xz
libguestfs-9adddc19e448781cf2076c44f66242fe48b47c7c.zip
Create manpage atomically.
Don't fail with a partial file if disk full, etc.
Diffstat (limited to 'rescue')
-rw-r--r--rescue/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/rescue/Makefile.am b/rescue/Makefile.am
index 3d557283..1067c8d2 100644
--- a/rescue/Makefile.am
+++ b/rescue/Makefile.am
@@ -30,7 +30,7 @@ virt-rescue.1: virt-rescue.pl
--section 1 \
-c "Virtualization Support" \
--release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
- $< > $@
+ $< > $@-t && mv $@-t $@
$(top_builddir)/html/virt-rescue.1.html: virt-rescue.pl
mkdir -p $(top_builddir)/html