aboutsummaryrefslogtreecommitdiff
path: root/share/timedef
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2021-08-03 16:00:45 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2021-08-03 16:02:15 +0000
commit30e1773fdef42cb509bf75e9fa09472e77a333de (patch)
tree5e94cd74df8e0f0bdf0f0cc5d65a66917a88e8b1 /share/timedef
parent8b3bd5a2b571e2681c96dbe5b4a04529ef0d7f53 (diff)
downloadsrc-30e1773fdef42cb509bf75e9fa09472e77a333de.tar.gz
src-30e1773fdef42cb509bf75e9fa09472e77a333de.zip
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
Diffstat (limited to 'share/timedef')
-rw-r--r--share/timedef/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/timedef/Makefile b/share/timedef/Makefile
index 428e8067ae18..df16c038ba4c 100644
--- a/share/timedef/Makefile
+++ b/share/timedef/Makefile
@@ -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