1994-05-27 12:33:43 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
2000-05-04 11:28:55 +00:00
|
|
|
# $FreeBSD$
|
1994-05-27 12:33:43 +00:00
|
|
|
|
|
|
|
PROG= calendar
|
1996-05-10 16:30:22 +00:00
|
|
|
SRCS= calendar.c io.c day.c ostern.c paskha.c
|
|
|
|
CFLAGS+= -Wall
|
2001-06-11 02:59:46 +00:00
|
|
|
INTER= de_DE.ISO8859-1 hr_HR.ISO8859-2 ru_RU.KOI8-R
|
|
|
|
DE_LINKS= de_DE.ISO_8859-1 de_DE.ISO8859-15 de_DE.ISO_8859-15
|
|
|
|
HR_LINKS= hr_HR.ISO_8859-2
|
1996-01-29 00:31:29 +00:00
|
|
|
TEXTMODE?= 444
|
1994-05-27 12:33:43 +00:00
|
|
|
|
|
|
|
beforeinstall:
|
1996-01-29 00:31:29 +00:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \
|
1996-04-02 22:26:18 +00:00
|
|
|
${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar
|
1996-02-18 19:29:45 +00:00
|
|
|
.for lang in ${INTER}
|
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \
|
|
|
|
${.CURDIR}/calendars/${lang}/calendar.* \
|
1996-04-02 22:26:18 +00:00
|
|
|
${DESTDIR}${SHAREDIR}/calendar/${lang};
|
1996-02-18 19:29:45 +00:00
|
|
|
.endfor
|
2001-06-11 02:59:46 +00:00
|
|
|
.for link in ${DE_LINKS}
|
|
|
|
rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link}
|
|
|
|
ln -s de_DE.ISO8859-1 ${DESTDIR}${SHAREDIR}/calendar/${link}
|
|
|
|
.endfor
|
|
|
|
.for link in ${HR_LINKS}
|
|
|
|
rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link}
|
|
|
|
ln -s hr_HR.ISO8859-2 ${DESTDIR}${SHAREDIR}/calendar/${link}
|
|
|
|
.endfor
|
1994-05-27 12:33:43 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|