commit 7890ce0a565f0eae438790dd31c949a9f7783c5f
parent e454ea8814f9a1a0bdaf31c25e6d9b55a9ba1f36
Author: Laslo Hunhold <dev@frign.de>
Date: Sat, 8 Jan 2022 17:10:23 +0100
Rename gen/character-properties.c to gen/character.c
This even more shows the relation to src/character.c, given it's more
or less taylored to it.
Signed-off-by: Laslo Hunhold <dev@frign.de>
Diffstat:
3 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/Makefile b/Makefile
@@ -14,8 +14,8 @@ DATA =\
data/GraphemeBreakTest.txt\
GEN =\
+ gen/character\
gen/character-test\
- gen/character-properties\
SRC =\
src/character\
@@ -40,11 +40,10 @@ all: libgrapheme.a libgrapheme.so
benchmark/character.o: benchmark/character.c config.mk gen/character-test.h grapheme.h benchmark/util.h
benchmark/utf8-decode.o: benchmark/utf8-decode.c config.mk gen/character-test.h grapheme.h benchmark/util.h
benchmark/util.o: benchmark/util.c config.mk benchmark/util.h
-gen/character-prop.o: gen/character-prop.c config.mk gen/util.h
+gen/character.o: gen/character.c config.mk gen/util.h
gen/character-test.o: gen/character-test.c config.mk gen/util.h
-gen/character-properties.o: gen/character-properties.c config.mk gen/util.h
gen/util.o: gen/util.c config.mk gen/util.h
-src/character.o: src/character.c config.mk gen/character-properties.h grapheme.h src/util.h
+src/character.o: src/character.c config.mk gen/character.h grapheme.h src/util.h
src/utf8.o: src/utf8.c config.mk grapheme.h
src/util.o: src/util.c config.mk gen/types.h grapheme.h src/util.h
test/character.o: test/character.c config.mk gen/character-test.h grapheme.h test/util.h
@@ -54,14 +53,14 @@ test/util.o: test/util.c config.mk test/util.h
benchmark/character: benchmark/character.o benchmark/util.o libgrapheme.a
benchmark/utf8-decode: benchmark/utf8-decode.o benchmark/util.o libgrapheme.a
+gen/character: gen/character.o gen/util.o
gen/character-test: gen/character-test.o gen/util.o
-gen/character-properties: gen/character-properties.o gen/util.o
test/character: test/character.o test/util.o libgrapheme.a
test/utf8-encode: test/utf8-encode.o test/util.o libgrapheme.a
test/utf8-decode: test/utf8-decode.o test/util.o libgrapheme.a
+gen/character.h: data/emoji-data.txt data/GraphemeBreakProperty.txt gen/character
gen/character-test.h: data/GraphemeBreakTest.txt gen/character-test
-gen/character-properties.h: data/emoji-data.txt data/GraphemeBreakProperty.txt gen/character-properties
data/emoji-data.txt:
wget -O $@ https://www.unicode.org/Public/14.0.0/ucd/emoji/emoji-data.txt
diff --git a/gen/character-properties.c b/gen/character.c
diff --git a/src/character.c b/src/character.c
@@ -4,7 +4,7 @@
#include <stdlib.h>
#include <string.h>
-#include "../gen/character-properties.h"
+#include "../gen/character.h"
#include "../grapheme.h"
#include "util.h"