b22a0751b7
Andrey's request.
21 lines
548 B
Makefile
21 lines
548 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
|
|
PROG= calendar
|
|
INTER= de_DE.ISO_8859-1
|
|
SHAREDIR= /usr/share/calendar
|
|
TEXTMODE?= 444
|
|
|
|
beforeinstall:
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \
|
|
${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}
|
|
for lang in ${INTER}; \
|
|
do \
|
|
[ -d ${DESTDIR}${SHAREDIR}/$$lang ] || \
|
|
mkdir -p ${DESTDIR}${SHAREDIR}/$$lang; \
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \
|
|
${.CURDIR}/calendars/$$lang/calendar.* \
|
|
${DESTDIR}${SHAREDIR}/$$lang; \
|
|
done;
|
|
|
|
.include <bsd.prog.mk>
|