1 # @(#)Makefile 8.1 (Berkeley) 6/6/93
2 # $FreeBSD: src/usr.bin/calendar/Makefile,v 1.12.8.6 2003/04/06 20:04:56 dwmalone Exp $
3 # $DragonFly: src/usr.bin/calendar/Makefile,v 1.6 2007/09/24 21:38:17 pavalos Exp $
6 SRCS
= calendar.c io.c day.c ostern.c paskha.c
7 INTER
= de_AT.ISO_8859-15 de_DE.ISO8859-1 fr_FR.ISO8859-1 \
8 hr_HR.ISO8859-2 hu_HU.ISO8859-2 ru_RU.KOI8-R uk_UA.KOI8-U
9 DE_LINKS
= de_DE.ISO_8859-1 de_DE.ISO8859-15 de_DE.ISO_8859-15
10 FR_LINKS
= fr_FR.ISO8859-15
11 HR_LINKS
= hr_HR.ISO_8859-2
15 ${INSTALL} -o
${BINOWN} -g
${BINGRP} -m
${TEXTMODE} \
16 ${.CURDIR
}/calendars
/calendar.
* ${DESTDIR}${SHAREDIR}/calendar
18 mkdir
-p
${DESTDIR}${SHAREDIR}/calendar
/${lang}
19 ${INSTALL} -o
${BINOWN} -g
${BINGRP} -m
${TEXTMODE} \
20 ${.CURDIR
}/calendars
/${lang}/calendar.
* \
21 ${DESTDIR}${SHAREDIR}/calendar
/${lang}
23 .for link in
${DE_LINKS}
24 rm -rf
${DESTDIR}${SHAREDIR}/calendar
/${link}
25 ${LN} -s de_DE.ISO8859-1
${DESTDIR}${SHAREDIR}/calendar
/${link}
27 .for link in
${FR_LINKS}
28 rm -rf
${DESTDIR}${SHAREDIR}/calendar
/${link}
29 ${LN} -s fr_FR.ISO8859-1
${DESTDIR}${SHAREDIR}/calendar
/${link}
31 .for link in
${HR_LINKS}
32 rm -rf
${DESTDIR}${SHAREDIR}/calendar
/${link}
33 ${LN} -s hr_HR.ISO8859-2
${DESTDIR}${SHAREDIR}/calendar
/${link}
36 .
include <bsd.prog.mk
>