diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2012-11-22 21:51:53 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2012-11-22 21:51:53 -0500 |
commit | b396e02c4300b3797b651656b5602b82feb9b7bc (patch) | |
tree | 42be07edc44d53b15f73f6d663c5708ef04c07f7 /configure.ac | |
parent | cb7d6ade4157f691a3745e9df98dda7917249be9 (diff) |
Fix keymap test during make distcheck
The keys/keymap test preformed by src/keymap/check-keymaps.sh must
find both keys.txt and the keymap directory. When building out of
the source tree, eg when doing `make distcheck`, these are located
at ${top_builddir}/src/keymap/keys.txt and ${top_srcdir}/keymap/,
respectively. This patch fixes the build so that these are now
correctly found.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index cf4934d762..796721a3c5 100644 --- a/configure.ac +++ b/configure.ac @@ -299,6 +299,7 @@ AC_CONFIG_FILES([Makefile src/gudev/Makefile src/gudev/gudev-1.0.pc src/keymap/Makefile + src/keymap/check-keymaps.sh src/keymap/keyboard-force-release.sh src/libudev/Makefile src/libudev/libudev.pc @@ -307,4 +308,14 @@ AC_CONFIG_FILES([Makefile src/test/Makefile test/Makefile]) + AC_OUTPUT + +dnl Set configured scripts executable +if test -f src/keymap/check-keymaps.sh; then + chmod +x src/keymap/check-keymaps.sh +fi + +if test -f src/keymap/keyboard-force-release.sh; then + chmod +x src/keymap/keyboard-force-release.sh +fi |