summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rwxr-xr-xextras/keymap/check-keymaps.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index c69529780d..221e91f538 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -493,7 +493,7 @@ udevacl-install-hook:
ln -sf $(libexecdir)/udev-acl $(DESTDIR)$(prefix)/lib/ConsoleKit/run-session.d/udev-acl.ck
keymaps-distcheck-hook: extras/keymap/keys.txt
- ./extras/keymap/check-keymaps.sh $(top_srcdir)
+ $(top_srcdir)/extras/keymap/check-keymaps.sh $(top_srcdir) $^
# ------------------------------------------------------------------------------
# Custom rules
diff --git a/extras/keymap/check-keymaps.sh b/extras/keymap/check-keymaps.sh
index d4e3e91760..892fcfd6c3 100755
--- a/extras/keymap/check-keymaps.sh
+++ b/extras/keymap/check-keymaps.sh
@@ -4,7 +4,7 @@
# and that all key maps listed in the rules are valid and present in
# Makefile.am
SRCDIR=$1
-KEYLIST=$SRCDIR/extras/keymap/keys.txt
+KEYLIST=$2
KEYMAPS_DIR=$SRCDIR/extras/keymap/keymaps #extras/keymap/keymaps
RULES=$SRCDIR/extras/keymap/95-keymap.rules