[anjuta] Fix build in a separate build directory for interfaces



commit d07ff9cb7c50930eca7f73941c3cc3d9e46a3fcd
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Sun Jan 10 10:34:29 2010 +0100

    Fix build in a separate build directory for interfaces

 libanjuta/interfaces/Makefile.am.iface |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libanjuta/interfaces/Makefile.am.iface b/libanjuta/interfaces/Makefile.am.iface
index 8a41a67..bdf7b30 100644
--- a/libanjuta/interfaces/Makefile.am.iface
+++ b/libanjuta/interfaces/Makefile.am.iface
@@ -20,14 +20,14 @@ libanjuta_interfaces_include_HEADERS =  $(libanjuta_interfaces_include)
 
 iface-built.stamp: libanjuta.idl Makefile.am.iface anjuta-idl-compiler.pl
 	savedir=`pwd` && \
-	cd $(srcdir) && perl $(srcdir)/anjuta-idl-compiler.pl libanjuta && \
+	cd $(srcdir) && perl anjuta-idl-compiler.pl libanjuta && \
 	echo 'GInterface' > hierarchy.txt && grep -e '^[[:space:]|\t]*interface' \
 	libanjuta.idl  | sed -e 's/\binterface\b\s*/\t/' | sed -e 's/\t/    /g' \
 	>> hierarchy.txt && \
-	touch $(srcdir)/iface-built.stamp && \
+	touch iface-built.stamp && \
 	echo "changing to $$savedir" && \
-	make && \
-	cd $$savedir
+	cd $$savedir && \
+	make
 	
 files_idl = libanjuta.idl
 idldir = $(MODULE_INCLUDEDIR)



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