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