[beast: 1/16] BEAST: fix srcdir/builddir confusion for generated file dependencies



commit aaadd2ae2cdbeaa28975d3bc31596e2ff2b048b3
Author: Tim Janik <timj gnu org>
Date:   Thu Sep 10 21:08:29 2015 +0200

    BEAST: fix srcdir/builddir confusion for generated file dependencies

 beast-gtk/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/beast-gtk/Makefile.am b/beast-gtk/Makefile.am
index 05bc488..8f10e1f 100644
--- a/beast-gtk/Makefile.am
+++ b/beast-gtk/Makefile.am
@@ -112,13 +112,13 @@ bstmarshal.cc: bstmarshal.list
 
 # == bstapi.idl ==
 EXTRA_DIST += bstapi.idl
-$(bst_cc_sources): bstserverapi.hh
+$(bst_cc_sources:%=$(srcdir)/%): bstserverapi.hh
 bstserverapi.hh: $(srcdir)/bstapi.idl $(AUXTYPES_PY)
        $(AM_V_GEN)
        $(Q) ${AIDACC} -x CxxStub -G macro=BST_IDL -G serverhh -x $(AUXTYPES_PY) $< -o xgen-$(@F)
        $(Q) mv xgen-$(@F) $@
 CLEANFILES += bstserverapi.hh
-$(bst_cc_sources): bstserverapi.cc
+$(bst_cc_sources:%=$(srcdir)/%): bstserverapi.cc
 bstserverapi.cc: $(srcdir)/bstapi.idl $(AUXTYPES_PY)
        $(AM_V_GEN)
        $(Q) ${AIDACC} -x CxxStub -G macro=BST_IDL -G servercc -x $(AUXTYPES_PY) $< -o xgen-$(@F)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]