2 Find a Unicode character Arabic joining type, given its name.
5 lib/unictype/joiningtype_byname.c
6 lib/unictype/joiningtype_byname.gperf
13 gl_LIBUNISTRING_MODULE([0.9.8], [unictype/joiningtype-byname])
16 if LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_BYNAME
17 lib_SOURCES += unictype/joiningtype_byname.c
20 $(srcdir)/unictype/joiningtype_byname.h: $(srcdir)/unictype/joiningtype_byname.gperf
21 $(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/joiningtype_byname.gperf > $(srcdir)/unictype/joiningtype_byname.h-t1 \
22 && sed -e 's/^const/static const/' \
23 -e 's|\([ "]\)[^ "]*/unictype/joiningtype_byname\.gperf\([ "]\)|\1unictype/joiningtype_byname.gperf\2|' \
24 < $(srcdir)/unictype/joiningtype_byname.h-t1 > $(srcdir)/unictype/joiningtype_byname.h-t2 \
25 && rm -f $(srcdir)/unictype/joiningtype_byname.h-t1 \
26 && mv $(srcdir)/unictype/joiningtype_byname.h-t2 $(srcdir)/unictype/joiningtype_byname.h
27 BUILT_SOURCES += unictype/joiningtype_byname.h
28 MOSTLYCLEANFILES += unictype/joiningtype_byname.h-t1 unictype/joiningtype_byname.h-t2
29 MAINTAINERCLEANFILES += unictype/joiningtype_byname.h
30 EXTRA_DIST += unictype/joiningtype_byname.h