From 30e1773fdef42cb509bf75e9fa09472e77a333de Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Tue, 3 Aug 2021 18:00:45 +0200 Subject: locales: fix abuse of bsd.dirs.mk the way SAMEDIRS was defined was an abuse of bsd.dirs.mk resulting in all the directory to be created in one single command, but DESTDIR is only prepend once on the first element of the list Switch to the properway to use bsd.dirs.mk --- tools/tools/locale/tools/cldr2def.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/tools/locale') diff --git a/tools/tools/locale/tools/cldr2def.pl b/tools/tools/locale/tools/cldr2def.pl index 277102d60a49..78b2634b6250 100755 --- a/tools/tools/locale/tools/cldr2def.pl +++ b/tools/tools/locale/tools/cldr2def.pl @@ -1081,9 +1081,9 @@ EOF FILES= \${LOCALES:S/\$/.${SRCOUT2}/} CLEANFILES= \${FILES} -DIRS+= SAMEDIRS .for f t in \${SAME} -SAMEDIRS+= \${LOCALEDIR}/\$t +DIRS+= LOCALEDIR_\$t +LOCALEDIR_\$t= \${LOCALEDIR}/\$t SYMLINKS+= ../\$f/\${FILESNAME} \\ \${LOCALEDIR}/\$t/\${FILESNAME} .endfor -- cgit v1.2.3