From a03be48760560eb671d388e2db43b94a8a978dd5 Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Tue, 18 Mar 2014 18:48:46 +0000 Subject: * 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@ --- src/lib/libssl/man/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libssl/man/Makefile b/src/lib/libssl/man/Makefile index b7e4a8f156..b512dd3a0e 100644 --- a/src/lib/libssl/man/Makefile +++ b/src/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 # 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 .include clean cleandir: - rm -f ${MAN} + rm -f ${MAN} ${MANLINT} -- cgit v1.2.3-55-g6feb