From fa44129b11f8226d5d686dd874bfb96c696289b3 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 14 Jul 2016 08:26:04 +0000 Subject: common.mk: update enc/unicode/name2ctype.h * Makefile.in (enc/unicode/name2ctype.h): remove stale recipe, which did not support Unicode age properties. * common.mk (enc/unicode/name2ctype.h): update by --header option of tool/enc-unicode.rb. enc/unicode/name2ctype.kwd file has not been used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- Makefile.in | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 38c5ba316f..09b7ca3322 100644 --- a/Makefile.in +++ b/Makefile.in @@ -342,28 +342,6 @@ lex.c: defs/keywords $(CP) $@ $(srcdir)/lex.c.blt; \ fi -NAME2CTYPE_OPTIONS = -7 -c -j1 -i1 -t -C -P -T -H uniname2ctype_hash -Q uniname2ctype_pool -N uniname2ctype_p - -$(srcdir)/enc/unicode/$(NAME2CTYPE_KWD)name2ctype.kwd: - [ -f $@ ] || $(MAKE) NAME2CTYPE_KWD=$(@F) $@ - -enc/unicode/name2ctype.h: enc/unicode/name2ctype.kwd - $(MAKEDIRS) $(@D) - @set +e; \ - if cmp -s $(?:.kwd=.src) $?; then \ - set -x; \ - $(CP) $(?:.kwd=.h.blt) $@; \ - else \ - trap '$(RM) $@-1.h $@-2.h' 0 && \ - set -x; \ - sed '/^#ifdef USE_UNICODE_PROPERTIES/,/^#endif/d' $? | gperf $(NAME2CTYPE_OPTIONS) > $@-1.h && \ - sed '/^#ifdef USE_UNICODE_PROPERTIES/d;/^#endif/d' $? | gperf $(NAME2CTYPE_OPTIONS) > $@-2.h && \ - diff -DUSE_UNICODE_PROPERTIES $@-1.h $@-2.h > $@.tmp || :; \ - $(MV) $@.tmp $@ && \ - $(CP) $? $(?:.kwd=.src) && \ - $(CP) $@ $(?:.kwd=.h.blt); \ - fi - JIS_PROPS_OPTIONS = -k1,3 -7 -c -j1 -i1 -t -C -P -t --ignore-case -H onig_jis_property_hash -Q onig_jis_property_pool -N onig_jis_property enc/jis/props.h: enc/jis/props.kwd -- cgit v1.2.3