config: add keysymdef and xf86keysym as dependencies of ks_tables.h

This would cover the scenario where these headers file are updated,
for example, a new version is installed. Running 'make' again
on libxkbcommon should rebuild ks_tables.h.

Reviewed-by: Jeremy Huddleston <>
Signed-off-by: Gaetan Nadon <>
diff --git a/src/ b/src/
index 9a77ece..b9a12b9 100644
--- a/src/
+++ b/src/
@@ -26,5 +26,5 @@
 BUILT_SOURCES = ks_tables.h
-ks_tables.h: $(top_builddir)/makekeys/makekeys$(EXEEXT)
+ks_tables.h: $(top_builddir)/makekeys/makekeys$(EXEEXT) $(KEYSYMDEF_H) $(XF86KEYSYM_H)
 	$(AM_V_GEN)cat $(KEYSYMDEF_H) $(XF86KEYSYM_H) | $(top_builddir)/makekeys/makekeys$(EXEEXT) > $@