summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2009-01-14 18:00:10 -0800
committerDan Nicholson <dbn.lists@gmail.com>2009-03-19 11:51:09 -0700
commitfa6a3d122d57b3ae89076741ec90ec8c1b78ce6b (patch)
treec88cf2d537a677fbccff3dfcf86016c8ad856138 /src
parent7f64541c30e66f4fb172420a1107b73abf5a3020 (diff)
Generate keysym tables from X and XF86 keysym definitions
The keysym hash table ks_tables.h is generated by makekeys from keysymdef.h and XF86keysym.h.
Diffstat (limited to 'src')
-rw-r--r--src/.gitignore1
-rw-r--r--src/Makefile.am6
2 files changed, 7 insertions, 0 deletions
diff --git a/src/.gitignore b/src/.gitignore
index 2bdb5e0..6251fb4 100644
--- a/src/.gitignore
+++ b/src/.gitignore
@@ -1 +1,2 @@
+ks_tables.h
makekeys
diff --git a/src/Makefile.am b/src/Makefile.am
index 53f1911..85cddbd 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,3 +1,9 @@
noinst_PROGRAMS = makekeys
makekeys_CFLAGS = $(X11_CFLAGS)
makekeys: CC = $(CC_FOR_BUILD)
+
+#BUILT_SOURCES = ks_tables.h
+noinst_HEADERS = ks_tables.h
+ks_tables.h: makekeys
+ @rm -f $@
+ cat $(KEYSYMDEF_H) $(XF86KEYSYM_H) | $(builddir)/makekeys$(EXEEXT) >$@