summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-11-20 14:44:47 -0500
committerAnthony G. Basile <blueness@gentoo.org>2012-11-20 14:44:47 -0500
commitbcc69ef934c9d14732e16551032242fa599b44e7 (patch)
treeacc183e5e4ba09ab8893a432514b9fc5a1d78736 /Makefile.am
parent802d021d2e403862f4692ee67956e7e0160c1879 (diff)
Reintroduce keymaps build and test
This commit reintroduces code to 1) build src/keymap 2) test keymap/Makefile.am that it has all the key maps listed 3) test that all the key names in keymap/* are in <linux/input.h> 4) do a syntax check on rules/*.rules which now includes 95-keymap.rules and 95-keyboard-force-release.rules For #4, the regex expressions in rule-syntax-check.py had to be updated. They do not allow trailing comments via # comment, and I did not include that. A rule in 95-keymap.rules had to have its comment moved from the end to another line. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 1b30e1e38b..3bed25ce40 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,11 +4,15 @@ SUBDIRS = \
src \
rules \
hwdb \
- keymaps \
- keymaps-force-release \
docs \
test
+if ENABLE_KEYMAP
+SUBDIRS += \
+ keymaps \
+ keymaps-force-release
+endif
+
if ENABLE_MANPAGES
SUBDIRS += \
man