diff options
author | ache <ache@FreeBSD.org> | 1995-11-03 14:53:53 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-11-03 14:53:53 +0000 |
commit | e16e90d585e35c51435ccad1f18265b1c03b5e3a (patch) | |
tree | e2160dacd5cd7f75270ce061e92d83a9a8bba772 /usr.bin/colldef | |
parent | 5aa679584eb2ecb21d0baa9e622b96ded33a0b1b (diff) | |
download | FreeBSD-src-e16e90d585e35c51435ccad1f18265b1c03b5e3a.zip FreeBSD-src-e16e90d585e35c51435ccad1f18265b1c03b5e3a.tar.gz |
Cleanup make process per Bruce suggestions
Diffstat (limited to 'usr.bin/colldef')
-rw-r--r-- | usr.bin/colldef/Makefile | 22 | ||||
-rw-r--r-- | usr.bin/colldef/data/Makefile | 36 | ||||
-rw-r--r-- | usr.bin/colldef/data/lt_LN.ISO_8859-1.src | 19 | ||||
-rw-r--r-- | usr.bin/colldef/data/ru_SU.CP866.src | 20 | ||||
-rw-r--r-- | usr.bin/colldef/data/ru_SU.KOI8-R.src | 20 |
5 files changed, 97 insertions, 20 deletions
diff --git a/usr.bin/colldef/Makefile b/usr.bin/colldef/Makefile index 9edfdb9..06ee59c 100644 --- a/usr.bin/colldef/Makefile +++ b/usr.bin/colldef/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.4 1995/09/28 18:23:34 bde Exp $ +# $Id: Makefile,v 1.5 1995/10/22 00:58:41 ache Exp $ PROG = colldef LFLAGS = -8 -i @@ -8,24 +8,6 @@ SRCS = parse.c scan.c LDADD = -ll DPADD = ${LIBL} CLEANFILES += lex.yy.c parse.c scan.c y.tab.[ch] - -LOCALES= ru_SU.KOI8-R ru_SU.CP866 lt_LN.ISO_8859-1 -LOCALEDIR= ${DESTDIR}/usr/share/locale - -LATIN1LINKS = \ - da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_US es_ES fi_FI \ - fr_BE fr_CA fr_CH fr_FR is_IS it_CH it_IT nl_BE nl_NL no_NO \ - pt_PT sv_SE - -afterinstall: - for l in ${LOCALES}; do \ - colldef -o ${LOCALEDIR}/$$l/LC_COLLATE ${.CURDIR}/data/$$l; \ - chown ${BINOWN}.${BINGRP} ${LOCALEDIR}/$$l/LC_COLLATE; \ - chmod 644 ${LOCALEDIR}/$$l/LC_COLLATE; \ - done - for l in ${LATIN1LINKS}; do \ - ln -fs ../lt_LN.ISO_8859-1/LC_COLLATE \ - ${LOCALEDIR}/$$l.ISO_8859-1/LC_COLLATE; \ - done +SUBDIR = data .include <bsd.prog.mk> diff --git a/usr.bin/colldef/data/Makefile b/usr.bin/colldef/data/Makefile new file mode 100644 index 0000000..00b7b47 --- /dev/null +++ b/usr.bin/colldef/data/Makefile @@ -0,0 +1,36 @@ +# $Id: Makefile,v 1.5 1995/10/22 00:58:41 ache Exp $ + +NOMAN=YES +CLEANFILES+= ${LOCALES:S/$/.out/g} + +LOCALES= ru_SU.KOI8-R ru_SU.CP866 lt_LN.ISO_8859-1 +LOCALEDIR= ${DESTDIR}/usr/share/locale + +.if exists(${.CURDIR}/../obj) +COLLDEF=${.CURDIR}/../obj/colldef +.else +COLLDEF=${.CURDIR}/../colldef +.endif + +LATIN1LINKS = \ + da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_US es_ES fi_FI \ + fr_BE fr_CA fr_CH fr_FR is_IS it_CH it_IT nl_BE nl_NL no_NO \ + pt_PT sv_SE + +.SUFFIXES: .src .out + +.src.out: + ${COLLDEF} -o ${.TARGET} ${.IMPSRC} + +all: ${LOCALES:S/$/.out/g} + +afterinstall: + for l in ${LOCALES}; do \ + ${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} $$l.out ${LOCALEDIR}/$$l/LC_COLLATE; \ + done + for l in ${LATIN1LINKS}; do \ + ln -fs ../lt_LN.ISO_8859-1/LC_COLLATE \ + ${LOCALEDIR}/$$l.ISO_8859-1/LC_COLLATE; \ + done + +.include <bsd.prog.mk> diff --git a/usr.bin/colldef/data/lt_LN.ISO_8859-1.src b/usr.bin/colldef/data/lt_LN.ISO_8859-1.src new file mode 100644 index 0000000..f63cfed --- /dev/null +++ b/usr.bin/colldef/data/lt_LN.ISO_8859-1.src @@ -0,0 +1,19 @@ +order \ +# controls + \x01;...;\x1f;\x7f;...;\x9f;\ +# spaces + \ ;\xa0;\ +# puncts + .;:;\;;\,;!;?;\xa1;\xbf;\ +# digits + 0;...;9;\ +# alphas + a;\xe0;...;\xe5;A;\xc0;...;\xc5;b;B;c;\xe7;C;\xc7;d;D;e;\xe8;...;\xeb;\ + E;\xc8;...;\xcb;f;F;g;G;h;H;i;\xec;...;\xef;I;\xcc;...;\xcf;j;J;k;K;\ + l;L;m;M;n;\xf1;N;\xd1;o;\xf2;...;\xf6;\xf8;O;\xd2;...;\xd6;\xd8;\ + p;P;q;Q;r;R;s;S;t;T;u;\xf9;...;\xfc;U;\xd9;...;\xdc;v;V;w;W;x;X;y;\ + \xfd;Y;\xdd;z;Z;\xf0;\xd0;\xfe;\xde;\xe6;\xc6;\xdf;\xff;\ +# remains + \";...;&;\ + \(;...;+;/;\<;...;\>;@;[;...;`;\{;...;~;\xa2;...;\xbe;\ + \xd7;\xf7 diff --git a/usr.bin/colldef/data/ru_SU.CP866.src b/usr.bin/colldef/data/ru_SU.CP866.src new file mode 100644 index 0000000..4a6d583 --- /dev/null +++ b/usr.bin/colldef/data/ru_SU.CP866.src @@ -0,0 +1,20 @@ +# cp866 +order \ +# controls + \x01;...;\x1f;\x7f;\ +# spaces + \ ;\xff;\ +# puncts + .;:;\;;\,;!;?;\ +# digits + 0;...;9;\ +# alphas + A;a;B;b;C;c;D;d;E;e;F;f;G;g;H;h;I;i;J;j;K;k;L;l;\ + M;m;N;n;O;o;P;p;Q;q;R;r;S;s;T;t;U;u;V;v;W;w;X;x;\ + Y;y;Z;z;\ + ;;;;;;;;;;;;;;;;;;;;;;;;\ + ;;;;;;;;;;;;;;;;;;;;;;;;\ + ;;;;;;;;;;;;;;;;;;\ +# remains + \";...;&;\(;...;+;/;\<;...;\>;@;[;...;`;\{;...;~;\ + \xb0;...;\xdf;\xf2;...;\xfe diff --git a/usr.bin/colldef/data/ru_SU.KOI8-R.src b/usr.bin/colldef/data/ru_SU.KOI8-R.src new file mode 100644 index 0000000..c1f1544 --- /dev/null +++ b/usr.bin/colldef/data/ru_SU.KOI8-R.src @@ -0,0 +1,20 @@ +# koi8-r +order \ +# controls + \x01;...;\x1f;\x7f;\ +# spaces + \ ;\x9a;\ +# puncts + .;:;\;;\,;!;?;\ +# digits + 0;...;9;\ +# alphas + A;a;B;b;C;c;D;d;E;e;F;f;G;g;H;h;I;i;J;j;K;k;L;l;\ + M;m;N;n;O;o;P;p;Q;q;R;r;S;s;T;t;U;u;V;v;W;w;X;x;\ + Y;y;Z;z;\ + ;;;;;;;;;;;;;;;;;;;;;;;;\ + ;;;;;;;;;;;;;;;;;;;;;;;;\ + ;;;;;;;;;;;;;;;;;;\ +# remains + \";...;&;\(;...;+;/;\<;...;\>;@;[;...;`;\{;...;~;\ + \x80;...;\x99;\x9b;...;\xa2;\xa4;...;\xb2;\xb4;...;\xbf |