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>
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 > $@