From 076c85673981493ed41aa176518a5e86fc71a33f Mon Sep 17 00:00:00 2001 From: Thomas Wolff Date: Mon, 15 Nov 2021 00:00:00 +0100 Subject: [PATCH] cleanup Unicode data files after generating updated tables --- newlib/libc/Makefile.unidata | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/newlib/libc/Makefile.unidata b/newlib/libc/Makefile.unidata index c85c428f2..d0590a75b 100644 --- a/newlib/libc/Makefile.unidata +++ b/newlib/libc/Makefile.unidata @@ -1,11 +1,31 @@ +############################################################################# # Generate Unicode data tables for string/wcwidth and ctype/??w* + +unicode-update: unidata cleanup + +############################################################################# +# Clean up downloaded files + +cleanup: + rm ctype/UnicodeData.txt + rm string/Blocks.txt + rm string/EastAsianWidth.txt + rm string/UnicodeData.txt + rm string/uniset.tar.gz + +############################################################################# # Download Unicode data files + unidata: cd string; ./mkunidata -u cd ctype; ./mkunidata -u -# Generate Unicode data tables for string/wcwidth and ctype/??w* +############################################################################# # Use installed Unicode data files from package unicode-ucd + unidata-local: cd string; ./mkunidata -i cd ctype; ./mkunidata -i + +############################################################################# +# end