From 806622f4dc67d84b12d51159b35aed790c84e64e Mon Sep 17 00:00:00 2001 From: Diego Nieto Cid Date: Sun, 3 Apr 2011 19:18:59 -0300 Subject: Reimplement KeySymToUcs4. * console-client/Makefile (DIST_FILES): Add xkb/kstoucs_map.sh. (kstoucs_map.c): New target. * console-client/xkb/kstoucs.c: Reimplement KeySymToUcs4. * console-client/xkb/kstoucs_map.sh: New file. --- console-client/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'console-client/Makefile') diff --git a/console-client/Makefile b/console-client/Makefile index b548ce22..22c4150e 100644 --- a/console-client/Makefile +++ b/console-client/Makefile @@ -55,7 +55,7 @@ XKB_DATA_FILES = keymap/hurd types/hurd symbols/hurd CPPFLAGS += -DQUAERENDO_INVENIETIS DIST_FILES = xkb/HACKING xkb/MISSING-FEATURES xkb/README xkb/TODO \ - xkb/Compose xkb/default.xkb xkb/makeconf.sh \ + xkb/Compose xkb/default.xkb xkb/makeconf.sh xkb/kstoucs_map.sh \ $(addprefix xkb/xkb-data/, $(XKB_DATA_FILES)) include ../Makeconf @@ -127,4 +127,12 @@ $(XKB_BASE): $(XKB_BASE)/%: xkb/xkb-data/% $(INSTALL_DATA) $< $@ + +kstoucs_map.c: $(includedir)/X11/keysymdef.h $(srcdir)/xkb/kstoucs_map.sh + SED=$(SED) \ + AWK=$(AWK) \ + sh $(srcdir)/xkb/kstoucs_map.sh \ + < $< \ + > map.tmp && \ + mv map.tmp $@ endif -- cgit v1.2.3