Hash :
dd629467
Author :
Date :
2024-08-10T12:48:55
Make sure gperf-generated files are the same in VPATH builds. Reported by Patrice Dumas <pertusus@free.fr> in <https://lists.gnu.org/archive/html/bug-texinfo/2024-08/msg00030.html>. * modules/iconv_open (Makefile.am): Eliminate directory names from the generated iconv_open-aix.h, iconv_open-hpux.h, iconv_open-irix.h, iconv_open-osf.h, iconv_open-solaris.h, iconv_open-zos.h. * modules/unicase/locale-language (Makefile.am): Eliminate directory names from the generated unicase/locale-languages.h. * modules/unicase/special-casing (Makefile.am): Eliminate directory names from the generated unicase/special-casing-table.h. * modules/unictype/bidiclass-byname (Makefile.am): Eliminate directory names from the generated unictype/bidi_byname.h. * modules/unictype/category-byname (Makefile.am): Eliminate directory names from the generated unictype/categ_byname.h. * modules/unictype/combining-class-byname (Makefile.am): Eliminate directory names from the generated unictype/combiningclass_byname.h. * modules/unictype/incb-byname (Makefile.am): Eliminate directory names from the generated unictype/incb_byname.h. * modules/unictype/joininggroup-byname (Makefile.am): Eliminate directory names from the generated unictype/joininggroup_byname.h. * modules/unictype/joiningtype-byname (Makefile.am): Eliminate directory names from the generated unictype/joiningtype_byname.h. * modules/unictype/property-byname (Makefile.am): Eliminate directory names from the generated unictype/pr_byname.h. * modules/unictype/scripts (Makefile.am): Eliminate directory names from the generated unictype/scripts_byname.h. * modules/uninorm/composition (Makefile.am): Eliminate directory names from the generated uninorm/composition-table.h.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
Description:
Scripts of Unicode characters.
Files:
lib/unictype/scripts.c
lib/unictype/scripts.h
lib/unictype/scripts_byname.gperf
Depends-on:
unictype/base
gperf
configure.ac:
gl_LIBUNISTRING_MODULE([1.2], [unictype/scripts])
Makefile.am:
if LIBUNISTRING_COMPILE_UNICTYPE_SCRIPTS
lib_SOURCES += unictype/scripts.c
endif
$(srcdir)/unictype/scripts_byname.h: $(srcdir)/unictype/scripts_byname.gperf
$(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/scripts_byname.gperf > $(srcdir)/unictype/scripts_byname.h-t1 \
&& sed -e 's/^const/static const/' \
-e 's|\([ "]\)[^ "]*/unictype/scripts_byname\.gperf\([ "]\)|\1unictype/scripts_byname.gperf\2|' \
< $(srcdir)/unictype/scripts_byname.h-t1 > $(srcdir)/unictype/scripts_byname.h-t2 \
&& rm -f $(srcdir)/unictype/scripts_byname.h-t1 \
&& mv $(srcdir)/unictype/scripts_byname.h-t2 $(srcdir)/unictype/scripts_byname.h
BUILT_SOURCES += unictype/scripts_byname.h
MOSTLYCLEANFILES += unictype/scripts_byname.h-t1 unictype/scripts_byname.h-t2
MAINTAINERCLEANFILES += unictype/scripts_byname.h
EXTRA_DIST += unictype/scripts_byname.h
Include:
"unictype.h"
License:
LGPLv2+
Maintainer:
all