summaryrefslogtreecommitdiff
path: root/console-client
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-07-10 02:08:38 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-07-10 02:08:38 +0200
commit2b557a86529c067db89c4d30977f822d82be87c3 (patch)
tree168f43bc37e7e14c8028a5ed51ab2f42f3ef0b32 /console-client
parentb66ac0ec5ba12e213bf196276d14bcf8168e1e52 (diff)
Fix out-of-tree build
* console-client/Makefile (xkb/kstoucs_map.c): Make xkb directory in build tree. (CPPFLAGS): Add -I$(CURDIR)/xkb
Diffstat (limited to 'console-client')
-rw-r--r--console-client/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/console-client/Makefile b/console-client/Makefile
index 8f15e71c..ce8ce353 100644
--- a/console-client/Makefile
+++ b/console-client/Makefile
@@ -41,7 +41,7 @@ LDLIBS = -ldl
module-dir = $(libdir)/hurd/console
console-LDFLAGS = -Wl,-E
-CPPFLAGS += -I$(srcdir)/xkb
+CPPFLAGS += -I$(CURDIR)/xkb -I$(srcdir)/xkb
LFLAGS = -i
YFLAGS = -by
XKB_DATA_FILES = keymap/hurd types/hurd symbols/hurd
@@ -127,6 +127,7 @@ $(XKB_BASE)/%: xkb/xkb-data/%
kstoucs.o: xkb/kstoucs_map.c
kstoucs_pic.o: xkb/kstoucs_map.c
xkb/kstoucs_map.c: $(X11_KEYSYMDEF_H) $(srcdir)/xkb/kstoucs_map.sh
+ mkdir -p xkb ; \
SED=$(SED) \
AWK=$(AWK) \
sh $(srcdir)/xkb/kstoucs_map.sh \