summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-01-25 08:22:47 +0100
committerKay Sievers <kay.sievers@vrfy.org>2010-01-25 08:22:47 +0100
commitd8f33f02527c5773438c2a29308edf25d06ce573 (patch)
tree71cfc39d143cc013175f6e26f858d683bb38abc1 /Makefile.am
parent97411493a3f064b25ad9d3e1df99bf35f484eb3a (diff)
keymap: linux/input.h - get absolute include path from gcc
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index b7ced1dc7f..3567af81a6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -546,7 +546,7 @@ udevkeymapforcereldir = $(libexecdir)/keymaps/force-release
dist_udevkeymapforcerel_DATA = \
extras/keymap/force-release-maps/samsung-other
-extras/keymap/keys.txt: /usr/include/linux/input.h
+extras/keymap/keys.txt: $(INCLUDE_PREFIX)/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/' > $@