1# @(#)Makefile 8.1 (Berkeley) 6/6/93 2# $FreeBSD$ 3 4PROG= calendar 5SRCS= calendar.c locale.c events.c dates.c parsedata.c io.c day.c \ 6 ostern.c paskha.c pom.c sunpos.c 7DPADD= ${LIBM} 8LDADD= -lm 9INTER= de_AT.ISO_8859-15 de_DE.ISO8859-1 fr_FR.ISO8859-1 \ 10 hr_HR.ISO8859-2 hu_HU.ISO8859-2 ru_RU.KOI8-R uk_UA.KOI8-U 11DE_LINKS= de_DE.ISO8859-15 12FR_LINKS= fr_FR.ISO8859-15 13TEXTMODE?= 444 14 15WARNS?= 7 16 17beforeinstall: 18 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ 19 ${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar 20.for lang in ${INTER} 21 mkdir -p ${DESTDIR}${SHAREDIR}/calendar/${lang} 22 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ 23 ${.CURDIR}/calendars/${lang}/calendar.* \ 24 ${DESTDIR}${SHAREDIR}/calendar/${lang} 25.endfor 26.for link in ${DE_LINKS} 27 rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link} 28 ln -s de_DE.ISO8859-1 ${DESTDIR}${SHAREDIR}/calendar/${link} 29.endfor 30.for link in ${FR_LINKS} 31 rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link} 32 ln -s fr_FR.ISO8859-1 ${DESTDIR}${SHAREDIR}/calendar/${link} 33.endfor 34 35.include <bsd.prog.mk> 36