From 735a585e80b99f5c67e6d1de4454c3d22986f50d Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Mon, 21 Dec 2020 23:20:28 +0100 Subject: [PATCH] mk: Set the DIR tags based on the files one Otherwise we loose the info as we use bsd.dirs.mk for creating directories. Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D27712 --- share/mk/bsd.files.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/mk/bsd.files.mk b/share/mk/bsd.files.mk index 9594bdd27f81..a327d142662c 100644 --- a/share/mk/bsd.files.mk +++ b/share/mk/bsd.files.mk @@ -53,10 +53,12 @@ ${group}TAG_ARGS= -T ${${group}TAGS:[*]:S/ /,/g} .if ${${group}DIR:S/^\///} == ${${group}DIR} # ${group}DIR specifies a variable that specifies a path DIRS+= ${${group}DIR} +${group}DIRTAGS= ${group}TAGS _${group}DIR= ${${group}DIR} .else # ${group}DIR specifies a path DIRS+= ${group}DIR +${group}DIRTAGS= ${${group}TAGS} _${group}DIR= ${group}DIR .endif