1# @(#)Makefile 8.1 (Berkeley) 6/6/93
| 1# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
2# $FreeBSD: head/usr.bin/calendar/Makefile 96546 2002-05-13 21:30:23Z dwmalone $
| 2# $FreeBSD: head/usr.bin/calendar/Makefile 98182 2002-06-13 21:21:59Z grog $
|
3 4PROG= calendar 5SRCS= calendar.c io.c day.c ostern.c paskha.c 6NO_WERROR= yes 7INTER= de_DE.ISO8859-1 fr_FR.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 9FR_LINKS= fr_FR.ISO8859-15 10HR_LINKS= hr_HR.ISO_8859-2 11TEXTMODE?= 444 12 13beforeinstall: 14 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ 15 ${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar 16.for lang in ${INTER}
| 3 4PROG= calendar 5SRCS= calendar.c io.c day.c ostern.c paskha.c 6NO_WERROR= yes 7INTER= de_DE.ISO8859-1 fr_FR.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 9FR_LINKS= fr_FR.ISO8859-15 10HR_LINKS= hr_HR.ISO_8859-2 11TEXTMODE?= 444 12 13beforeinstall: 14 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ 15 ${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar 16.for lang in ${INTER}
|
| 17 mkdir -p ${DESTDIR}${SHAREDIR}/calendar/${lang}
|
17 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ 18 ${.CURDIR}/calendars/${lang}/calendar.* \
| 18 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ 19 ${.CURDIR}/calendars/${lang}/calendar.* \
|
19 ${DESTDIR}${SHAREDIR}/calendar/${lang};
| 20 ${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.for link in ${HR_LINKS} 30 rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link} 31 ln -s hr_HR.ISO8859-2 ${DESTDIR}${SHAREDIR}/calendar/${link} 32.endfor 33 34.include <bsd.prog.mk>
| 21.endfor 22.for link in ${DE_LINKS} 23 rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link} 24 ln -s de_DE.ISO8859-1 ${DESTDIR}${SHAREDIR}/calendar/${link} 25.endfor 26.for link in ${FR_LINKS} 27 rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link} 28 ln -s fr_FR.ISO8859-1 ${DESTDIR}${SHAREDIR}/calendar/${link} 29.endfor 30.for link in ${HR_LINKS} 31 rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link} 32 ln -s hr_HR.ISO8859-2 ${DESTDIR}${SHAREDIR}/calendar/${link} 33.endfor 34 35.include <bsd.prog.mk>
|