summaryrefslogtreecommitdiff
path: root/extras/keymap
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2011-10-26 07:38:06 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2011-10-26 07:38:06 +0200
commit3aa3be179fd7eea792e5dfe71e0b2c9723c8a9b2 (patch)
tree78554e1ba9ff184999c15155bbf7b3fb07d76222 /extras/keymap
parent7796af6ae601f5bb83fbbc70f3302c9a0a50ef88 (diff)
check-keymaps.sh: Allow running separately
Provide default arguments for SRCDIR and KEYLIST, so that you can just run this from the root of the source tree, separately from make distcheck.
Diffstat (limited to 'extras/keymap')
-rwxr-xr-xextras/keymap/check-keymaps.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/keymap/check-keymaps.sh b/extras/keymap/check-keymaps.sh
index c92246a2cd..df18c3f488 100755
--- a/extras/keymap/check-keymaps.sh
+++ b/extras/keymap/check-keymaps.sh
@@ -3,8 +3,8 @@
# check that all key names in keymaps/* are known in <linux/input.h>
# and that all key maps listed in the rules are valid and present in
# Makefile.am
-SRCDIR=$1
-KEYLIST=$2
+SRCDIR=${1:-.}
+KEYLIST=${2:-extras/keymap/keys.txt}
KEYMAPS_DIR=$SRCDIR/extras/keymap/keymaps #extras/keymap/keymaps
RULES=$SRCDIR/extras/keymap/95-keymap.rules