1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Description: Use system Unicode data instead of downloading
Author: Daniel Echeverri <epsilon@debian.org>
Forwarded: not-needed
Last-Update: 2025-10-11
--- a/Makefile
+++ b/Makefile
@@ -72,13 +72,8 @@
opnames.h: jsi.h
grep -E '\<OP_' jsi.h | sed 's/^[^A-Z]*OP_/"/;s/,.*/",/' | tr A-Z a-z > $@
-UnicodeData.txt:
- curl -s -o $@ https://www.unicode.org/Public/16.0.0/ucd/UnicodeData.txt
-SpecialCasing.txt:
- curl -s -o $@ https://www.unicode.org/Public/16.0.0/ucd/SpecialCasing.txt
-
-utfdata.h: genucd.py UnicodeData.txt SpecialCasing.txt
- python3 genucd.py UnicodeData.txt SpecialCasing.txt >$@
+utfdata.h: genucd.py
+ python3 genucd.py /usr/share/unicode/ucd/UnicodeData.txt /usr/share/unicode/ucd/SpecialCasing.txt >$@
build/sanitize/mujs: main.c one.c $(SRCS) $(HDRS)
@mkdir -p $(@D)
|