diff --git a/usr.bin/calendar/Makefile b/usr.bin/calendar/Makefile index 86b6c8553230..f02daef57ce9 100644 --- a/usr.bin/calendar/Makefile +++ b/usr.bin/calendar/Makefile @@ -5,11 +5,19 @@ PROG= calendar SRCS= calendar.c io.c day.c ostern.c paskha.c CFLAGS+= -Wall INTER= de_DE.ISO_8859-1 hr_HR.ISO_8859-2 ru_RU.KOI8-R +DE_LINKS= de_DE.ISO8859-1 de_DE.ISO_8859-15 de_DE.ISO8859-15 +HR_LINKS= hr_HR.ISO8859-2 TEXTMODE?= 444 beforeinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ ${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar +.for link in ${DE_LINKS} + ln -sf de_DE.ISO_8859-1 ${DESTDIR}${SHAREDIR}/calendar/${link} +.endfor +.for link in ${HR_LINKS} + ln -sf hr_HR.ISO_8859-2 ${DESTDIR}${SHAREDIR}/calendar/${link} +.endfor .for lang in ${INTER} ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ ${.CURDIR}/calendars/${lang}/calendar.* \