Use make(1) for loop rather than sh(1) loop.

This commit is contained in:
Garrett Wollman 2001-02-09 21:01:50 +00:00
parent 29e2c6dbc9
commit 05c9049670
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72258

View File

@ -25,9 +25,9 @@ LOCALEDIR= ${DESTDIR}/usr/share/locale
all: ${LOCALES:S/$/.out/g}
afterinstall:
for l in ${LOCALES}; do \
${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} $$l.out \
${LOCALEDIR}/$$l/LC_NUMERIC; \
done
.for lang in ${LOCALES}
${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
${LOCALEDIR}/${lang}/LC_NUMERIC
.endfor
.include <bsd.prog.mk>