locales: stop hardcoding the directories in the mtree
The framework knows how to create directories and tag them properly for a the creation of a mtree, not need to hardcode all the locales entries in bsd.usr.mk This simplifies addition of new locales but also allow people building with WITHOUT_LOCALES to end up with a directory full of empty files
This commit is contained in:
@@ -96,7 +96,9 @@ SAME+= fr_FR.UTF-8 fr_BE.UTF-8
|
||||
FILES= ${LOCALES:S/$/.out/}
|
||||
CLEANFILES= ${FILES}
|
||||
|
||||
DIRS+= SAMEDIRS
|
||||
.for f t in ${SAME}
|
||||
SAMEDIRS+= ${LOCALEDIR}/$t
|
||||
SYMLINKS+= ../$f/${FILESNAME} \
|
||||
${LOCALEDIR}/$t/${FILESNAME}
|
||||
.endfor
|
||||
|
||||
Reference in New Issue
Block a user