Fix “make distcheck” run outside of the source directory.

Pass the path to keys.txt as second parameter of check-keymaps.sh so that
it can be found in the right path.
This commit is contained in:
Diego Elio 'Flameeyes' Pettenò 2009-08-08 22:12:42 +02:00
parent 214a6c791c
commit 90b955b836
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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