1# $Id: Makefile,v 1.1 1995/11/03 14:53:50 ache Exp $ 2 3NOMAN=YES 4CLEANFILES+= ${LOCALES:S/$/.out/g} 5 6LOCALES= ru_SU.KOI8-R ru_SU.CP866 lt_LN.ISO_8859-1 7LOCALEDIR= ${DESTDIR}/usr/share/locale 8 9.if exists(${.OBJDIR}/../colldef) 10COLLDEF=${.OBJDIR}/../colldef 11.else 12COLLDEF=${.CURDIR}/../colldef 13.endif 14 15LATIN1LINKS = \ 16 da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_US es_ES fi_FI \ 17 fr_BE fr_CA fr_CH fr_FR is_IS it_CH it_IT nl_BE nl_NL no_NO \ 18 pt_PT sv_SE 19 20.SUFFIXES: .src .out 21 22.src.out: 23 ${COLLDEF} -o ${.TARGET} ${.IMPSRC} 24 25all: ${LOCALES:S/$/.out/g} 26 27afterinstall: 28 for l in ${LOCALES}; do \ 29 ${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} $$l.out ${LOCALEDIR}/$$l/LC_COLLATE; \ 30 done 31 for l in ${LATIN1LINKS}; do \ 32 ln -fs ../lt_LN.ISO_8859-1/LC_COLLATE \ 33 ${LOCALEDIR}/$$l.ISO_8859-1/LC_COLLATE; \ 34 done 35 36.include <bsd.prog.mk> 37