From: Daniel Stone Date: Mon, 4 Jun 2012 13:06:01 +0000 (+0100) Subject: Work around stupid automake dependency-tracking bug X-Git-Tag: xkbcommon-0.2.0~515 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=734be50050601987da680597f5dafc41c6421fbb;p=platform%2Fupstream%2Flibxkbcommon.git 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 --- 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 > $@