From: robert Date: Sun, 12 Nov 2023 21:17:48 +0000 (+0000) Subject: append ExtensionDependencies.inc to CLEANFILES only if .OBJDIR != .CURDIR X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=15eb6586e7505c9459b1fc2216b5b561297111ba;p=openbsd append ExtensionDependencies.inc to CLEANFILES only if .OBJDIR != .CURDIR --- diff --git a/gnu/usr.bin/clang/llvm-config/Makefile b/gnu/usr.bin/clang/llvm-config/Makefile index f1a19cd8a32..1ff3cb5424c 100644 --- a/gnu/usr.bin/clang/llvm-config/Makefile +++ b/gnu/usr.bin/clang/llvm-config/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2023/11/11 18:35:40 robert Exp $ +# $OpenBSD: Makefile,v 1.9 2023/11/12 21:17:48 robert Exp $ PROG= llvm-config BINDIR= /usr/bin @@ -39,7 +39,10 @@ reconf: rm -rf ${.CURDIR}/CMakeGen .endfor -CLEANFILES+= BuildVariables.inc LibraryDependencies.inc ExtensionDependencies.inc +CLEANFILES+= BuildVariables.inc LibraryDependencies.inc +.if ${.CURDIR} != ${.OBJDIR} +CLEANFILES+= ExtensionDependencies.inc +.endif .PATH: ${.CURDIR}/../../../llvm/llvm/tools/llvm-config