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
This commit is contained in:
parent
8b3bd5a2b5
commit
30e1773fde
@ -133,9 +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
|
||||
DIRS+= LOCALEDIR_$t
|
||||
LOCALEDIR_$t= ${LOCALEDIR}/$t
|
||||
SYMLINKS+= ../$f/${FILESNAME} \
|
||||
${LOCALEDIR}/$t/${FILESNAME}
|
||||
.endfor
|
||||
|
@ -104,9 +104,9 @@ SAME+= zh_TW.UTF-8 zh_HK.UTF-8
|
||||
FILES= ${LOCALES:S/$/.LC_COLLATE/}
|
||||
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
|
||||
|
@ -215,9 +215,9 @@ SAME+= ko_KR.eucKR ko_KR.CP949 # legacy (same charset)
|
||||
FILES= ${LOCALES:S/$/.LC_CTYPE/}
|
||||
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
|
||||
|
@ -129,9 +129,9 @@ SAME+= ko_KR.eucKR ko_KR.CP949 # legacy (same charset)
|
||||
FILES= ${LOCALES:S/$/.out/}
|
||||
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
|
||||
|
@ -96,9 +96,9 @@ SAME+= sr_RS.UTF-8@latin sr_RS.UTF-8
|
||||
FILES= ${LOCALES:S/$/.out/}
|
||||
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
|
||||
|
@ -122,9 +122,9 @@ SAME+= ko_KR.eucKR ko_KR.CP949 # legacy (same charset)
|
||||
FILES= ${LOCALES:S/$/.out/}
|
||||
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
|
||||
|
@ -96,9 +96,9 @@ SAME+= zh_TW.UTF-8 zh_HK.UTF-8
|
||||
FILES= ${LOCALES:S/$/.out/}
|
||||
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
|
||||
|
@ -125,9 +125,9 @@ SAME+= ko_KR.eucKR ko_KR.CP949 # legacy (same charset)
|
||||
FILES= ${LOCALES:S/$/.out/}
|
||||
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
|
||||
|
@ -96,9 +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
|
||||
DIRS+= LOCALEDIR_$t
|
||||
LOCALEDIR_$t= ${LOCALEDIR}/$t
|
||||
SYMLINKS+= ../$f/${FILESNAME} \
|
||||
${LOCALEDIR}/$t/${FILESNAME}
|
||||
.endfor
|
||||
|
@ -208,9 +208,9 @@ SAME+= ko_KR.eucKR ko_KR.CP949 # legacy (same charset)
|
||||
FILES= ${LOCALES:S/$/.out/}
|
||||
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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user