summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2021-08-28 15:20:19 +0000
committertb <>2021-08-28 15:20:19 +0000
commitacdf1e27755acce4396b8b736739aab883e4e88b (patch)
tree4a1a99c8d8672e4077e5e85f144759a6b5b21522
parent288f0a07ac11201013bee70e00135bb96e86d4a7 (diff)
downloadopenbsd-acdf1e27755acce4396b8b736739aab883e4e88b.tar.gz
openbsd-acdf1e27755acce4396b8b736739aab883e4e88b.tar.bz2
openbsd-acdf1e27755acce4396b8b736739aab883e4e88b.zip
Only remove the directories if there's an obj/ or obj@
-rw-r--r--src/regress/lib/libcrypto/x509/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/x509/Makefile b/src/regress/lib/libcrypto/x509/Makefile
index 6b4256bfad..f394a93655 100644
--- a/src/regress/lib/libcrypto/x509/Makefile
+++ b/src/regress/lib/libcrypto/x509/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.5 2021/08/28 15:13:50 beck Exp $ 1# $OpenBSD: Makefile,v 1.6 2021/08/28 15:20:19 tb Exp $
2 2
3PROGS = constraints verify x509attribute x509name 3PROGS = constraints verify x509attribute x509name
4LDADD= -Wl,-Bstatic -lcrypto -Wl,-Bdynamic 4LDADD= -Wl,-Bstatic -lcrypto -Wl,-Bdynamic
@@ -12,8 +12,10 @@ REGRESS_TARGETS=regress-constraints regress-verify regress-x509attribute regress
12CLEANFILES+= x509name.result 12CLEANFILES+= x509name.result
13 13
14.if make(clean) || make(cleandir) 14.if make(clean) || make(cleandir)
15. if ${.OBJDIR} != ${.CURDIR}
15.BEGIN: 16.BEGIN:
16 rm -rf ${.OBJDIR}/[0-9]* 17 rm -rf [0-9]*
18. endif
17.endif 19.endif
18 20
19regress-verify: verify 21regress-verify: verify