summaryrefslogtreecommitdiff
path: root/sys/lib/libz
diff options
context:
space:
mode:
authorHugh Graham <hugh@cvs.openbsd.org>2002-04-29 01:02:29 +0000
committerHugh Graham <hugh@cvs.openbsd.org>2002-04-29 01:02:29 +0000
commit57884f4efb08fbe90bf520fd768d975b874948a9 (patch)
tree62d43866198f054ea09d7f84777a6351933bc985 /sys/lib/libz
parentc3e2a5eeb70f1de57109cc99245c9f814e4123ff (diff)
Delete directories created by cleandir to prevent permission problems
during sudo builds. Verified by Valchev and sanctioned by Shalayeff.
Diffstat (limited to 'sys/lib/libz')
-rw-r--r--sys/lib/libz/Makefile.inc4
1 files changed, 3 insertions, 1 deletions
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