diff options
author | tb <> | 2021-08-28 15:20:19 +0000 |
---|---|---|
committer | tb <> | 2021-08-28 15:20:19 +0000 |
commit | acdf1e27755acce4396b8b736739aab883e4e88b (patch) | |
tree | 4a1a99c8d8672e4077e5e85f144759a6b5b21522 | |
parent | 288f0a07ac11201013bee70e00135bb96e86d4a7 (diff) | |
download | openbsd-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/Makefile | 6 |
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 | ||
3 | PROGS = constraints verify x509attribute x509name | 3 | PROGS = constraints verify x509attribute x509name |
4 | LDADD= -Wl,-Bstatic -lcrypto -Wl,-Bdynamic | 4 | LDADD= -Wl,-Bstatic -lcrypto -Wl,-Bdynamic |
@@ -12,8 +12,10 @@ REGRESS_TARGETS=regress-constraints regress-verify regress-x509attribute regress | |||
12 | CLEANFILES+= x509name.result | 12 | CLEANFILES+= 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 | ||
19 | regress-verify: verify | 21 | regress-verify: verify |