summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-14 04:42:50 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-14 04:42:50 +0000
commitbf4020a34e237e7a8ad38dd003ffc4f2bb26acb3 (patch)
tree6b5d8a0c444a60db4e031211aeb6c15d0d527d70 /Makefile.in
parent6c1f4f7ebafbc38a7b40d0ed3b728e1b4cb03259 (diff)
common.mk: rule for name2ctype.kwd
* common.mk (enc/unicode/name2ctype.kwd): rule to create from Unicode data files, used only when the target does not exist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 3550433690..38c5ba316f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -344,6 +344,9 @@ lex.c: defs/keywords
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; \