git: 735a585e80b9 - main - mk: Set the DIR tags based on the files one

Emmanuel Vadot manu at FreeBSD.org
Mon Jan 4 15:25:23 UTC 2021


The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=735a585e80b99f5c67e6d1de4454c3d22986f50d

commit 735a585e80b99f5c67e6d1de4454c3d22986f50d
Author:     Emmanuel Vadot <manu at freebsd.org>
AuthorDate: 2020-12-21 22:20:28 +0000
Commit:     Emmanuel Vadot <manu at FreeBSD.org>
CommitDate: 2021-01-04 15:20:04 +0000

    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
 


More information about the dev-commits-src-all mailing list