Makefile revision 232052
156668Sshin# @(#)Makefile 8.1 (Berkeley) 6/6/93 256668Sshin# $FreeBSD: head/usr.bin/calendar/Makefile 232052 2012-02-23 17:47:48Z osa $ 356668Sshin 456668SshinPROG= calendar 556668SshinSRCS= calendar.c locale.c events.c dates.c parsedata.c io.c day.c \ 656668Sshin ostern.c paskha.c pom.c sunpos.c 756668SshinDPADD= ${LIBM} 856668SshinLDADD= -lm 956668SshinINTER= de_AT.ISO_8859-15 de_DE.ISO8859-1 fr_FR.ISO8859-1 \ 1056668Sshin hr_HR.ISO8859-2 hu_HU.ISO8859-2 pt_BR.ISO8859-1 \ 1156668Sshin pt_BR.UTF-8 ru_RU.KOI8-R uk_UA.KOI8-U 1256668SshinDE_LINKS= de_DE.ISO8859-15 1356668SshinFR_LINKS= fr_FR.ISO8859-15 1480029SobrienTEXTMODE?= 444 1556668Sshin 1656668Sshinbeforeinstall: 1756668Sshin ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ 1880029Sobrien ${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar 19122679Sume.for lang in ${INTER} 2080029Sobrien mkdir -p ${DESTDIR}${SHAREDIR}/calendar/${lang} 21124604Sru ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ 2256668Sshin ${.CURDIR}/calendars/${lang}/calendar.* \ 23201390Sed ${DESTDIR}${SHAREDIR}/calendar/${lang} 24201390Sed.endfor 2556668Sshin.for link in ${DE_LINKS} 26 rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link} 27 ln -s de_DE.ISO8859-1 ${DESTDIR}${SHAREDIR}/calendar/${link} 28.endfor 29.for link in ${FR_LINKS} 30 rm -rf ${DESTDIR}${SHAREDIR}/calendar/${link} 31 ln -s fr_FR.ISO8859-1 ${DESTDIR}${SHAREDIR}/calendar/${link} 32.endfor 33 34.include <bsd.prog.mk> 35