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