From 1e2d641fe33278eba2063e8b36e854b5740c227e Mon Sep 17 00:00:00 2001 From: Seiei Miyagi Date: Thu, 13 Sep 2018 15:22:33 +0900 Subject: [PATCH] Fix 6ceda05 src/x11_constants_XF86.inc source, X.h -> XF86keysym.h --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cc02f38..a1dbbe9 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ src/x11_constants.inc: cat /usr/include/X11/keysymdef.h | ruby -e 'puts STDIN.read.split("\n").select {|l| l.match(/\A(#define XK_|#ifdef|#endif)/) }.map{|l| l.match(/\A#define XK_/) ? %Q[ define_x11_const(#{l.split(" ")[1]});] : l }.join("\n")' > src/x11_constants.inc src/x11_constants_XF86.inc: - cat /usr/include/X11/X.h | ruby -e 'puts STDIN.read.split("\n").select {|l| l.start_with?("#")}[2..-2].map{|l| l.start_with?("#define") ? %Q[ define_x11_const(#{l.split(" ")[1]});] : l}' > src/x11_constants_XF86.inc + cat /usr/include/X11/XF86keysym.h | ruby -e 'puts STDIN.read.split("\n").select {|l| l.start_with?("#")}[2..-2].map{|l| l.start_with?("#define") ? %Q[ define_x11_const(#{l.split(" ")[1]});] : l}' > src/x11_constants_XF86.inc mruby/build/host/bin/xremap: mruby build_config.rb src/x11_constants.inc src/x11_constants_XF86.inc $(CSRCS) $(MRBSRCS) $(MRBCSRCS) cd mruby && MRUBY_CONFIG="$(current_dir)/build_config.rb" make