Use $(top_builddir) rather than relative paths
authorDaniel Stone <daniel@fooishbar.org>
Mon, 4 Jun 2012 15:14:42 +0000 (16:14 +0100)
committerDaniel Stone <daniel@fooishbar.org>
Mon, 4 Jun 2012 15:14:42 +0000 (16:14 +0100)
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Makefile.am

index 655bc7b..0bc19a0 100644 (file)
@@ -93,9 +93,9 @@ 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/xkbcomp/parser.c: $(top_builddir)/src/$(am__dirstamp) $(top_builddir)/src/xkbcomp/$(am__dirstamp)
+src/xkbcomp/parser.h: $(top_builddir)/src/$(am__dirstamp) $(top_builddir)/src/xkbcomp/$(am__dirstamp)
+src/xkbcomp/scanner.c: $(top_builddir)/src/$(am__dirstamp) $(top_builddir)/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 > $@