summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2012-06-04 14:06:01 +0100
committerDaniel Stone <daniel@fooishbar.org>2012-06-04 14:06:01 +0100
commit734be50050601987da680597f5dafc41c6421fbb (patch)
tree068a7851825d110b8a14200c5c246093c6a75527
parente6ca6fc57d9070fb97998df817958b2b98952020 (diff)
Work around stupid automake dependency-tracking bug
bison/flex-generated objects, when being run in a VPATH build with --disable-dependency-tracking (i.e. Gentoo), would fail to be created because automake didn't bother creating the destination directories before trying to create the objects. Fix this by depending on the destination directory stamp, which according to the automake mailing list, should hopefully remain fairly stable. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 02d53c3..655bc7b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -93,6 +93,10 @@ BUILT_SOURCES = \
src/ks_tables.h
CLEANFILES = $(BUILT_SOURCES)
+src/xkbcomp/parser.c: src/$(am__dirstamp) src/xkbcomp/$(am__dirstamp)
+src/xkbcomp/parser.h: src/$(am__dirstamp) src/xkbcomp/$(am__dirstamp)
+src/xkbcomp/scanner.c: src/$(am__dirstamp) src/xkbcomp/$(am__dirstamp)
+
src/ks_tables.h: $(KEYSYMDEFS) $(top_builddir)/makekeys/makekeys$(EXEEXT)
$(AM_V_GEN)$(top_builddir)/makekeys/makekeys $(top_srcdir)/include/xkbcommon/xkbcommon-keysyms.h > $@