summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 8fd6e32b81..743c5b84cc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -547,6 +547,7 @@ dist_udevkeymapforcerel_DATA = \
extras/keymap/keymaps/force-release/samsung-other
extras/keymap/keys.txt: /usr/include/linux/input.h
+ mkdir -p extras/keymap
$(AM_V_GEN)$(AWK) '/^#define.*KEY_[^ ]+[ \t]+[0-9]/ { if ($$2 != "KEY_MAX") { print $$2 } }' < $< | sed 's/^KEY_COFFEE$$/KEY_SCREENLOCK/' > $@
extras/keymap/keys-from-name.gperf: extras/keymap/keys.txt