summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-03-18 18:48:46 +0000
committerschwarze <schwarze@openbsd.org>2014-03-18 18:48:46 +0000
commitd476f07479f46062f218f524216529c16bc87874 (patch)
tree67cfa8bedfd044c8d946570a1deb020166f888e2 /lib
parentsync (diff)
downloadwireguard-openbsd-d476f07479f46062f218f524216529c16bc87874.tar.xz
wireguard-openbsd-d476f07479f46062f218f524216529c16bc87874.zip
* Fix another instance of directly writing to the target with a utility
that might fail. * Keep the build log clean. * Make sure syntax checks run again when doing: make clean; make ok espie@
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/man/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libssl/man/Makefile b/lib/libssl/man/Makefile
index b7e4a8f1564..b512dd3a0ef 100644
--- a/lib/libssl/man/Makefile
+++ b/lib/libssl/man/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.21 2014/03/18 18:06:25 espie Exp $
+# $OpenBSD: Makefile,v 1.22 2014/03/18 18:48:46 schwarze Exp $
.include <bsd.own.mk> # for NOMAN
@@ -292,7 +292,8 @@ MAN= \
SHA1 sha
${page}.3: ${src}.pod
- ${POD2MAN} --section=3 --name=${page:U} ${.ALLSRC} > ${.TARGET}
+ @echo '${POD2MAN} --section=3 --name=${page:U} $? > $@'
+ @${POD2MAN} --section=3 --name=${page:U} $? > $@.tmp && mv $@.tmp $@
.endfor
MLINKS+=\
@@ -1122,11 +1123,12 @@ maninstall:
.SUFFIXES: .pod .1 .3 .7
.for sect in 1 3 7
.pod.${sect}:
- ${POD2MAN} --section=${sect} --name=${*:U} $< > $@.tmp && mv $@.tmp $@
+ @echo '${POD2MAN} --section=${sect} --name=${*:U} $< > $@'
+ @${POD2MAN} --section=${sect} --name=${*:U} $< > $@.tmp && mv $@.tmp $@
.endfor
.include <bsd.obj.mk>
.include <bsd.subdir.mk>
clean cleandir:
- rm -f ${MAN}
+ rm -f ${MAN} ${MANLINT}