summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2009-05-11 19:11:55 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2009-05-11 19:11:55 +0200
commit9a6cdbe9361ac923b3bddd4b86f11d8e4c029370 (patch)
tree8562569a01628fa3569855eaf4381785791a0bd0
parentdd957acec16bfec48780e8a821cae64f226b7bf6 (diff)
keymap: check Makefile.am completeness in check-keymaps.sh
Verify that we have added all key map files to Makefile.am's _DATA list.
-rwxr-xr-xkeymap/check-keymaps.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/keymap/check-keymaps.sh b/keymap/check-keymaps.sh
index 8d064df..dc46f59 100755
--- a/keymap/check-keymaps.sh
+++ b/keymap/check-keymaps.sh
@@ -23,4 +23,8 @@ for m in $maps; do
echo "ERROR: unknown map name in $RULES: $m" >&2
exit 1
}
+ grep -q "keymaps/$m\>" Makefile.am || {
+ echo "ERROR: map file $m is not added to Makefile.am" >&2
+ exit 1
+ }
done