diff options
Diffstat (limited to 'share/msgdef')
-rw-r--r-- | share/msgdef/Makefile | 44 |
1 files changed, 23 insertions, 21 deletions
diff --git a/share/msgdef/Makefile b/share/msgdef/Makefile index 5fae006..fc438ac 100644 --- a/share/msgdef/Makefile +++ b/share/msgdef/Makefile @@ -62,41 +62,43 @@ LOCALEDIR= ${DESTDIR}/usr/share/locale all: ${LOCALES:S/$/.out/g} afterinstall: +# HACK: remove LC_MESSAGES directories before installing LC_MESSAGES file + -rm -rf ${LOCALEDIR}/*/LC_MESSAGES .for lang in ${LOCALES} ${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \ - ${LOCALEDIR}/${lang}/LC_MESSAGES/SYS_LC_MESSAGES + ${LOCALEDIR}/${lang}/LC_MESSAGES .endfor .for link in ${8859_15_LINKS} - ln -sf ../../${link}.ISO8859-1/LC_MESSAGES/SYS_LC_MESSAGES \ - ${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES/SYS_LC_MESSAGES + ln -sf ../${link}.ISO8859-1/LC_MESSAGES \ + ${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES .endfor .for link in ${ENGLISHLINKS} - ln -sf ../../${ENGLISH}.ISO8859-1/LC_MESSAGES/SYS_LC_MESSAGES \ - ${LOCALEDIR}/${link}.ISO8859-1/LC_MESSAGES/SYS_LC_MESSAGES - ln -sf ../../${ENGLISH}.ISO8859-1/LC_MESSAGES/SYS_LC_MESSAGES \ - ${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES/SYS_LC_MESSAGES - ln -sf ../../${ENGLISH}.ISO8859-1/LC_MESSAGES/SYS_LC_MESSAGES \ - ${LOCALEDIR}/${link}.US-ASCII/LC_MESSAGES/SYS_LC_MESSAGES + ln -sf ../${ENGLISH}.ISO8859-1/LC_MESSAGES \ + ${LOCALEDIR}/${link}.ISO8859-1/LC_MESSAGES + ln -sf ../${ENGLISH}.ISO8859-1/LC_MESSAGES \ + ${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES + ln -sf ../${ENGLISH}.ISO8859-1/LC_MESSAGES \ + ${LOCALEDIR}/${link}.US-ASCII/LC_MESSAGES .endfor .for link in ${FRENCHLINKS} - ln -sf ../../${FRENCH}.ISO8859-1/LC_MESSAGES/SYS_LC_MESSAGES \ - ${LOCALEDIR}/${link}.ISO8859-1/LC_MESSAGES/SYS_LC_MESSAGES - ln -sf ../../${FRENCH}.ISO8859-1/LC_MESSAGES/SYS_LC_MESSAGES \ - ${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES/SYS_LC_MESSAGES + ln -sf ../${FRENCH}.ISO8859-1/LC_MESSAGES \ + ${LOCALEDIR}/${link}.ISO8859-1/LC_MESSAGES + ln -sf ../${FRENCH}.ISO8859-1/LC_MESSAGES \ + ${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES .endfor .for link in ${GERMANLINKS} - ln -sf ../../${GERMAN}.ISO8859-1/LC_MESSAGES/SYS_LC_MESSAGES \ - ${LOCALEDIR}/${link}.ISO8859-1/LC_MESSAGES/SYS_LC_MESSAGES - ln -sf ../../${GERMAN}.ISO8859-1/LC_MESSAGES/SYS_LC_MESSAGES \ - ${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES/SYS_LC_MESSAGES + ln -sf ../${GERMAN}.ISO8859-1/LC_MESSAGES \ + ${LOCALEDIR}/${link}.ISO8859-1/LC_MESSAGES + ln -sf ../${GERMAN}.ISO8859-1/LC_MESSAGES \ + ${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES .endfor .for link in ${CZECHLINKS} - ln -sf ../../${CZECH}.ISO8859-2/LC_MESSAGES/SYS_LC_MESSAGES \ - ${LOCALEDIR}/${link}.ISO8859-2/LC_MESSAGES/SYS_LC_MESSAGES + ln -sf ../${CZECH}.ISO8859-2/LC_MESSAGES \ + ${LOCALEDIR}/${link}.ISO8859-2/LC_MESSAGES .endfor .for link in ${ASCIILINKS} - ln -sf ../../${link}.ISO8859-1/LC_MESSAGES/SYS_LC_MESSAGES \ - ${LOCALEDIR}/${link}.US-ASCII/LC_MESSAGES/SYS_LC_MESSAGES + ln -sf ../${link}.ISO8859-1/LC_MESSAGES \ + ${LOCALEDIR}/${link}.US-ASCII/LC_MESSAGES .endfor .include <bsd.prog.mk> |