summaryrefslogtreecommitdiff
path: root/lib/libssl
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2014-03-18 18:06:26 +0000
committerMarc Espie <espie@cvs.openbsd.org>2014-03-18 18:06:26 +0000
commit40fbe0732c098bb81a7f53d0be085e746f3e4e5d (patch)
tree8d48219b29ef1787ac3e370050b7bd0912c0c9d2 /lib/libssl
parent07127820eb31c9490f5df7569e335414039aa0e4 (diff)
prevent failed command from generating bogus file
okay guenther@
Diffstat (limited to 'lib/libssl')
-rw-r--r--lib/libssl/man/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/man/Makefile b/lib/libssl/man/Makefile
index d1dfad1c783..b7e4a8f1564 100644
--- a/lib/libssl/man/Makefile
+++ b/lib/libssl/man/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.20 2013/12/23 00:09:22 jca Exp $
+# $OpenBSD: Makefile,v 1.21 2014/03/18 18:06:25 espie Exp $
.include <bsd.own.mk> # for NOMAN
@@ -1122,7 +1122,7 @@ maninstall:
.SUFFIXES: .pod .1 .3 .7
.for sect in 1 3 7
.pod.${sect}:
- ${POD2MAN} --section=${sect} --name=${*:U} ${.IMPSRC} > ${.TARGET}
+ ${POD2MAN} --section=${sect} --name=${*:U} $< > $@.tmp && mv $@.tmp $@
.endfor
.include <bsd.obj.mk>