summaryrefslogtreecommitdiffstats
path: root/cat
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 /cat
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 'cat')
-rw-r--r--cat/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/cat/Makefile.am b/cat/Makefile.am
index 98df337a..5fe320bd 100644
--- a/cat/Makefile.am
+++ b/cat/Makefile.am
@@ -30,7 +30,7 @@ virt-cat.1: virt-cat.pl
--section 1 \
-c "Virtualization Support" \
--release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
- $< > $@
+ $< > $@-t && mv $@-t $@
$(top_builddir)/html/virt-cat.1.html: virt-cat.pl
mkdir -p $(top_builddir)/html