mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-04 12:52:15 +00:00
Cleanup make process per Bruce suggestions
This commit is contained in:
parent
1b31f20e14
commit
3861c86a42
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12031
36
share/colldef/Makefile
Normal file
36
share/colldef/Makefile
Normal file
@ -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>
|
19
share/colldef/la_LN.ISO8859-1.src
Normal file
19
share/colldef/la_LN.ISO8859-1.src
Normal file
@ -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
|
19
share/colldef/la_LN.ISO_8859-1.src
Normal file
19
share/colldef/la_LN.ISO_8859-1.src
Normal file
@ -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
|
19
share/colldef/lt_LN.ISO_8859-1.src
Normal file
19
share/colldef/lt_LN.ISO_8859-1.src
Normal file
@ -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
|
20
share/colldef/ru_RU.CP866.src
Normal file
20
share/colldef/ru_RU.CP866.src
Normal file
@ -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;\
|
||||
€; ;<3B>;¡;‚;¢;ƒ;£;„;¤;…;¥;ð;ñ;†;¦;‡;§;ˆ;¨;‰;©;Š;ª;\
|
||||
‹;«;Œ;¬;<3B>;;Ž;®;<3B>;¯;<3B>;à;‘;á;’;â;“;ã;”;ä;•;å;–;æ;\
|
||||
—;ç;˜;è;™;é;š;ê;›;ë;œ;ì;<3B>;í;ž;î;Ÿ;ï;\
|
||||
# remains
|
||||
\";...;&;\(;...;+;/;\<;...;\>;@;[;...;`;\{;...;~;\
|
||||
\xb0;...;\xdf;\xf2;...;\xfe
|
20
share/colldef/ru_RU.KOI8-R.src
Normal file
20
share/colldef/ru_RU.KOI8-R.src
Normal file
@ -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
|
20
share/colldef/ru_SU.CP866.src
Normal file
20
share/colldef/ru_SU.CP866.src
Normal file
@ -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;\
|
||||
€; ;<3B>;¡;‚;¢;ƒ;£;„;¤;…;¥;ð;ñ;†;¦;‡;§;ˆ;¨;‰;©;Š;ª;\
|
||||
‹;«;Œ;¬;<3B>;;Ž;®;<3B>;¯;<3B>;à;‘;á;’;â;“;ã;”;ä;•;å;–;æ;\
|
||||
—;ç;˜;è;™;é;š;ê;›;ë;œ;ì;<3B>;í;ž;î;Ÿ;ï;\
|
||||
# remains
|
||||
\";...;&;\(;...;+;/;\<;...;\>;@;[;...;`;\{;...;~;\
|
||||
\xb0;...;\xdf;\xf2;...;\xfe
|
20
share/colldef/ru_SU.KOI8-R.src
Normal file
20
share/colldef/ru_SU.KOI8-R.src
Normal file
@ -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
|
@ -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>
|
||||
|
36
usr.bin/colldef/data/Makefile
Normal file
36
usr.bin/colldef/data/Makefile
Normal file
@ -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>
|
19
usr.bin/colldef/data/lt_LN.ISO_8859-1.src
Normal file
19
usr.bin/colldef/data/lt_LN.ISO_8859-1.src
Normal file
@ -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
|
20
usr.bin/colldef/data/ru_SU.CP866.src
Normal file
20
usr.bin/colldef/data/ru_SU.CP866.src
Normal file
@ -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;\
|
||||
€; ;<3B>;¡;‚;¢;ƒ;£;„;¤;…;¥;ð;ñ;†;¦;‡;§;ˆ;¨;‰;©;Š;ª;\
|
||||
‹;«;Œ;¬;<3B>;;Ž;®;<3B>;¯;<3B>;à;‘;á;’;â;“;ã;”;ä;•;å;–;æ;\
|
||||
—;ç;˜;è;™;é;š;ê;›;ë;œ;ì;<3B>;í;ž;î;Ÿ;ï;\
|
||||
# remains
|
||||
\";...;&;\(;...;+;/;\<;...;\>;@;[;...;`;\{;...;~;\
|
||||
\xb0;...;\xdf;\xf2;...;\xfe
|
20
usr.bin/colldef/data/ru_SU.KOI8-R.src
Normal file
20
usr.bin/colldef/data/ru_SU.KOI8-R.src
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user