From 184d64af1344d6f3c370499510cede49320f4863 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Tue, 3 Aug 2021 14:25:00 +0200 Subject: 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 --- share/colldef/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'share/colldef') 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 -- cgit v1.2.3