diff options
author | 1997-06-19 18:23:21 +0000 | |
---|---|---|
committer | 1997-06-19 18:23:21 +0000 | |
commit | 6fd75965d0c16d7e61542dccab95c6ff036b0cc0 (patch) | |
tree | 5f59e57723f0c6d87906c0ff1fd573eb8f666ee9 | |
parent | back out (diff) | |
download | wireguard-openbsd-6fd75965d0c16d7e61542dccab95c6ff036b0cc0.tar.xz wireguard-openbsd-6fd75965d0c16d7e61542dccab95c6ff036b0cc0.zip |
Fix a repeatbility problem associated with doing make cleandir of sys/lib/* -
mkdir fails if the destination already exists. It could be argued that
having make cleandir rm the directory would be appropriate, but there
really shouldn't be any dynamic fooling around with the directory structure.
Fixes PR sparc/231 by Marshal Midden, though probably MI.
-rw-r--r-- | sys/lib/libkern/Makefile.inc | 4 | ||||
-rw-r--r-- | sys/lib/libsa/Makefile.inc | 4 | ||||
-rw-r--r-- | sys/lib/libz/Makefile.inc | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/lib/libkern/Makefile.inc b/sys/lib/libkern/Makefile.inc index 497031862d4..a92377e9635 100644 --- a/sys/lib/libkern/Makefile.inc +++ b/sys/lib/libkern/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.7 1997/05/05 04:44:10 millert Exp $ +# $OpenBSD: Makefile.inc,v 1.8 1997/06/19 18:23:21 grr Exp $ # $NetBSD: Makefile.inc,v 1.22 1996/09/30 15:54:35 ws Exp $ # # NOTE: $S must correspond to the top of the 'sys' tree @@ -49,4 +49,4 @@ depend:: .NOTMAIN __always_make_kernlib @${KERNMAKE} depend __always_make_kernlib: .NOTMAIN - @mkdir -p ${KERNDST} + -mkdir -p ${KERNDST} diff --git a/sys/lib/libsa/Makefile.inc b/sys/lib/libsa/Makefile.inc index d0a79cba785..aa253fcc9b8 100644 --- a/sys/lib/libsa/Makefile.inc +++ b/sys/lib/libsa/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.7 1997/05/05 04:44:10 millert Exp $ +# $OpenBSD: Makefile.inc,v 1.8 1997/06/19 18:23:23 grr Exp $ # $NetBSD: Makefile.inc,v 1.5 1996/09/30 16:01:18 ws Exp $ # # NOTE: $S must correspond to the top of the 'sys' tree @@ -37,5 +37,5 @@ depend:: .NOTMAIN __always_make_salib @${SAMAKE} depend __always_make_salib: .NOTMAIN - @([ -d ${SADST} ] || mkdir -p ${SADST}) + -mkdir -p ${SADST}) diff --git a/sys/lib/libz/Makefile.inc b/sys/lib/libz/Makefile.inc index e20d89e398f..7a1d98b3d1b 100644 --- a/sys/lib/libz/Makefile.inc +++ b/sys/lib/libz/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.5 1997/05/05 04:44:11 millert Exp $ +# $OpenBSD: Makefile.inc,v 1.6 1997/06/19 18:23:24 grr Exp $ # $NetBSD: Makefile.inc,v 1.2 1997/01/23 22:29:09 cgd Exp $ # # Configuration variables (default values are below): @@ -68,4 +68,4 @@ dependzlib: .NOTMAIN __always_make_zlib @${ZMAKE} depend __always_make_zlib: .NOTMAIN - @mkdir -p ${ZDST} + -mkdir -p ${ZDST} |