safe-alloc: simplify, given new reallocarray behavior
[gnulib.git] / modules / unictype / joiningtype-byname
blob8708006d4135024f3680b4d24eb3b31a756df873
1 Description:
2 Find a Unicode character Arabic joining type, given its name.
4 Files:
5 lib/unictype/joiningtype_byname.c
6 lib/unictype/joiningtype_byname.gperf
8 Depends-on:
9 unictype/base
10 gperf
12 configure.ac:
13 gl_LIBUNISTRING_MODULE([0.9.8], [unictype/joiningtype-byname])
15 Makefile.am:
16 if LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_BYNAME
17 lib_SOURCES += unictype/joiningtype_byname.c
18 endif
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
32 Include:
33 "unictype.h"
35 License:
36 LGPLv3+ or GPLv2+
38 Maintainer:
39 all