1# @(#)Makefile 8.1 (Berkeley) 6/6/93 2# $FreeBSD$ 3 4PROG= calendar 5SRCS= calendar.c io.c day.c ostern.c paskha.c 6INTER= de_DE.ISO8859-1 hr_HR.ISO8859-2 ru_RU.KOI8-R 7DE_LINKS= de_DE.ISO_8859-1 de_DE.ISO8859-15 de_DE.ISO_8859-15 8HR_LINKS= hr_HR.ISO_8859-2 9TEXTMODE?= 444 10 11beforeinstall: 12 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ 13 ${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar 14.for lang in ${INTER} 15 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ 16 ${.CURDIR}/calendars/${lang}/calendar.* \ 17 ${DESTDIR}${SHAREDIR}/calendar/${lang}; 18.endfor 19.for link in ${DE_LINKS} 20 rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link} 21 ln -s de_DE.ISO8859-1 ${DESTDIR}${SHAREDIR}/calendar/${link} 22.endfor 23.for link in ${HR_LINKS} 24 rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link} 25 ln -s hr_HR.ISO8859-2 ${DESTDIR}${SHAREDIR}/calendar/${link} 26.endfor 27 28.include <bsd.prog.mk> 29