aboutsummaryrefslogtreecommitdiff
path: root/etc/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2018-11-04 10:14:08 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2018-11-04 10:14:08 +0000
commit874e7db1f798100b6b4e0efa69ad91570f88b16b (patch)
tree9201dd7ba49e5e338d377c86a04a0236097e6ba2 /etc/Makefile
parent4dd729a55b6818cbbe0bc9817d50f6293d76aadf (diff)
downloadsrc-874e7db1f798100b6b4e0efa69ad91570f88b16b.tar.gz
src-874e7db1f798100b6b4e0efa69ad91570f88b16b.zip
Notes
Diffstat (limited to 'etc/Makefile')
-rw-r--r--etc/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/Makefile b/etc/Makefile
index cc228bef0ab8..4714b580cc82 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -4,6 +4,8 @@
.include <src.opts.mk>
FILESGROUPS= FILES
+NLS_ALIASES= POSIX C \
+ en_US.US_ASCII C
# No need as it is empty and just causes rebuilds since this file does so much.
UPDATE_DEPENDFILE= no
@@ -182,11 +184,9 @@ distrib-dirs: ${MTREES:N/*} distrib-cleanup .PHONY
.endfor
.endif
.if ${MK_NLS} != "no"
- set - `grep "^[a-zA-Z]" ${.CURDIR}/nls.alias`; \
- while [ $$# -gt 0 ] ; do \
- ${INSTALL_SYMLINK} "$$2" "${DESTDIR}${SHAREDIR}/nls/$$1"; \
- shift; shift; \
- done
+.for alias nls in ${NLS_ALIASES}
+ ${INSTALL_SYMLINK} "${nls}" "${DESTDIR}${SHAREDIR}/nls/${alias}"
+.endfor
.endif
etc-examples: ${META_DEPS}