aboutsummaryrefslogtreecommitdiff
path: root/share/colldef
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2021-08-03 12:25:00 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2021-08-03 12:25:00 +0000
commit184d64af1344d6f3c370499510cede49320f4863 (patch)
tree0a4eaa4b4460a197f2750dc5f8ce063d45646b2a /share/colldef
parentd3fd2cbbb7f9be95025143500ce0a5378135ee1c (diff)
downloadsrc-184d64af1344d6f3c370499510cede49320f4863.tar.gz
src-184d64af1344d6f3c370499510cede49320f4863.zip
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
Diffstat (limited to 'share/colldef')
-rw-r--r--share/colldef/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/colldef/Makefile b/share/colldef/Makefile
index 89454f84a5e4..15e84179c768 100644
--- a/share/colldef/Makefile
+++ b/share/colldef/Makefile
@@ -133,7 +133,9 @@ SAME+= ko_KR.eucKR ko_KR.CP949 # legacy (same charset)
FILES= ${LOCALES:S/$/.LC_COLLATE/}
CLEANFILES= ${FILES}
+DIRS+= SAMEDIRS
.for f t in ${SAME}
+SAMEDIRS+= ${LOCALEDIR}/$t
SYMLINKS+= ../$f/${FILESNAME} \
${LOCALEDIR}/$t/${FILESNAME}
.endfor