diff options
author | Hugh Graham <hugh@cvs.openbsd.org> | 2002-04-29 01:02:29 +0000 |
---|---|---|
committer | Hugh Graham <hugh@cvs.openbsd.org> | 2002-04-29 01:02:29 +0000 |
commit | 57884f4efb08fbe90bf520fd768d975b874948a9 (patch) | |
tree | 62d43866198f054ea09d7f84777a6351933bc985 | |
parent | c3e2a5eeb70f1de57109cc99245c9f814e4123ff (diff) |
Delete directories created by cleandir to prevent permission problems
during sudo builds. Verified by Valchev and sanctioned by Shalayeff.
-rw-r--r-- | sys/lib/libsa/Makefile.inc | 3 | ||||
-rw-r--r-- | sys/lib/libz/Makefile.inc | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/lib/libsa/Makefile.inc b/sys/lib/libsa/Makefile.inc index bfea2ec4f16..1cf0c954a0e 100644 --- a/sys/lib/libsa/Makefile.inc +++ b/sys/lib/libsa/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.10 2001/06/23 01:47:40 drahn Exp $ +# $OpenBSD: Makefile.inc,v 1.11 2002/04/29 01:02:28 hugh 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 @@ -34,6 +34,7 @@ ${SALIB}: .NOTMAIN __always_make_salib clean:: .NOTMAIN __always_make_salib @echo cleaning the stand-alone library objects @${SAMAKE} clean + -rmdir -p ${SADST} depend:: .NOTMAIN __always_make_salib @echo depending the standalone library objects diff --git a/sys/lib/libz/Makefile.inc b/sys/lib/libz/Makefile.inc index 7a1d98b3d1b..b41a7686a9b 100644 --- a/sys/lib/libz/Makefile.inc +++ b/sys/lib/libz/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.6 1997/06/19 18:23:24 grr Exp $ +# $OpenBSD: Makefile.inc,v 1.7 2002/04/29 01:02:28 hugh Exp $ # $NetBSD: Makefile.inc,v 1.2 1997/01/23 22:29:09 cgd Exp $ # # Configuration variables (default values are below): @@ -56,11 +56,13 @@ clean:: .NOTMAIN cleanzlib cleanzlib: .NOTMAIN __always_make_zlib @echo cleaning the z library objects @${ZMAKE} clean + -rmdir -p ${ZDST} cleandir: .NOTMAIN cleandirzlib cleandirzlib: .NOTMAIN __always_make_zlib @echo cleandiring the z library objects @${ZMAKE} cleandir + -rmdir -p ${ZDST} depend:: .NOTMAIN dependzlib dependzlib: .NOTMAIN __always_make_zlib |