Makefile revision 201386
1# @(#)Makefile 8.1 (Berkeley) 6/6/93 2# $FreeBSD: head/usr.bin/calendar/Makefile 201386 2010-01-02 10:27:05Z ed $ 3 4PROG= calendar 5SRCS= calendar.c io.c day.c ostern.c paskha.c 6INTER= de_AT.ISO_8859-15 de_DE.ISO8859-1 fr_FR.ISO8859-1 \ 7 hr_HR.ISO8859-2 hu_HU.ISO8859-2 ru_RU.KOI8-R uk_UA.KOI8-U 8DE_LINKS= de_DE.ISO8859-15 9FR_LINKS= fr_FR.ISO8859-15 10TEXTMODE?= 444 11 12WARNS?= 3 13 14beforeinstall: 15 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ 16 ${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar 17.for lang in ${INTER} 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} 22.endfor 23.for link in ${DE_LINKS} 24 rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link} 25 ln -s de_DE.ISO8859-1 ${DESTDIR}${SHAREDIR}/calendar/${link} 26.endfor 27.for link in ${FR_LINKS} 28 rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link} 29 ln -s fr_FR.ISO8859-1 ${DESTDIR}${SHAREDIR}/calendar/${link} 30.endfor 31 32.include <bsd.prog.mk> 33