1996-01-24 11:30:26 +00:00
|
|
|
# $Id: Makefile,v 1.1 1995/11/03 15:08:06 ache Exp $
|
1995-11-03 15:08:10 +00:00
|
|
|
|
|
|
|
NOMAN=YES
|
|
|
|
CLEANFILES+= ${LOCALES:S/$/.out/g}
|
|
|
|
|
1996-01-24 11:30:26 +00:00
|
|
|
LOCALES= de_DE.ISO_8859-1 ru_SU.KOI8-R ru_SU.CP866
|
1995-11-03 15:08:10 +00:00
|
|
|
LOCALEDIR= ${DESTDIR}/usr/share/locale
|
|
|
|
|
1996-01-24 11:30:26 +00:00
|
|
|
DE_LINKS = de_AT de_CH
|
|
|
|
|
1995-11-03 15:08:10 +00:00
|
|
|
.SUFFIXES: .src .out
|
|
|
|
|
|
|
|
.src.out:
|
|
|
|
grep -v '^#' < ${.IMPSRC} > ${.TARGET}
|
|
|
|
|
|
|
|
all: ${LOCALES:S/$/.out/g}
|
|
|
|
|
|
|
|
afterinstall:
|
|
|
|
for l in ${LOCALES}; do \
|
1996-01-24 11:30:26 +00:00
|
|
|
${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} $$l.out \
|
|
|
|
${LOCALEDIR}/$$l/LC_TIME; \
|
|
|
|
done
|
|
|
|
for l in ${DE_LINKS}; do \
|
|
|
|
ln -fs ../de_DE.ISO_8859-1/LC_TIME \
|
|
|
|
${LOCALEDIR}/$$l.ISO_8859-1/LC_TIME; \
|
1995-11-03 15:08:10 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|