Commit d3dfd7deaba6ea09a3a4bcc2a4c1963472e024f7

Daniel Stone 2012-06-04T16:14:42

Use $(top_builddir) rather than relative paths Signed-off-by: Daniel Stone <daniel@fooishbar.org>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/Makefile.am b/Makefile.am
index 655bc7b..0bc19a0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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 > $@