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