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_AT.ISO_8859-15 de_DE.ISO8859-1 fr_FR.ISO8859-1 \ 7 hr_HR.ISO8859-2 hu_HU.ISO8859-2 ru_RU.KOI8-R uk_UA.KOI8-U 8DE_LINKS= de_DE.ISO8859-15 9FR_LINKS= fr_FR.ISO8859-15 10TEXTMODE?= 444 11 12beforeinstall: 13 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ 14 ${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar 15.for lang in ${INTER} 16 mkdir -p ${DESTDIR}${SHAREDIR}/calendar/${lang} 17 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ 18 ${.CURDIR}/calendars/${lang}/calendar.* \ 19 ${DESTDIR}${SHAREDIR}/calendar/${lang} 20.endfor 21.for link in ${DE_LINKS} 22 rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link} 23 ln -s de_DE.ISO8859-1 ${DESTDIR}${SHAREDIR}/calendar/${link} 24.endfor 25.for link in ${FR_LINKS} 26 rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link} 27 ln -s fr_FR.ISO8859-1 ${DESTDIR}${SHAREDIR}/calendar/${link} 28.endfor 29 30.include <bsd.prog.mk> 31