[glib] gdbus-codegen: Fix build



commit f819aa5f1715bb67fd4e269a6e8021144ecf91a6
Author: David Zeuthen <davidz redhat com>
Date:   Thu Jun 9 11:51:47 2011 -0400

    gdbus-codegen: Fix build
    
    See https://bugzilla.gnome.org/show_bug.cgi?id=651998 for details.
    
    Signed-off-by: David Zeuthen <davidz redhat com>

 gio/tests/Makefile.am                              |    2 +-
 gio/tests/gdbus-object-manager-example/Makefile.am |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gdbus-codegen/codegen_main.py b/gio/gdbus-codegen/codegen_main.py
old mode 100644
new mode 100755
diff --git a/gio/tests/Makefile.am b/gio/tests/Makefile.am
index 07530dc..3be4e04 100644
--- a/gio/tests/Makefile.am
+++ b/gio/tests/Makefile.am
@@ -245,7 +245,7 @@ gdbus_bz627724_SOURCES = gdbus-bz627724.c gdbus-sessionbus.c gdbus-sessionbus.h
 gdbus_bz627724_LDADD = $(progs_ldadd)
 
 gdbus-test-codegen-generated.h gdbus-test-codegen-generated.c : test-codegen.xml
-	$(AM_V_GEN) PYTHONPATH=$(top_srcdir)/gio/gdbus-codegen$${PYTHONPATH:+:$$PYTHONPATH} $(top_builddir)/gio/gdbus-codegen/gdbus-codegen	 	\
+	$(AM_V_GEN) PYTHONPATH=$(top_srcdir)/gio/gdbus-codegen:$(top_builddir)/gio/gdbus-codegen:$$PYTHONPATH $(PYTHON) $(top_builddir)/gio/gdbus-codegen/codegen_main.py	 	\
 		--interface-prefix org.project.								\
 		--generate-c-code gdbus-test-codegen-generated						\
 		--c-generate-object-manager								\
diff --git a/gio/tests/gdbus-object-manager-example/Makefile.am b/gio/tests/gdbus-object-manager-example/Makefile.am
index 8f4cda3..50ccff9 100644
--- a/gio/tests/gdbus-object-manager-example/Makefile.am
+++ b/gio/tests/gdbus-object-manager-example/Makefile.am
@@ -22,7 +22,7 @@ GDBUS_GENERATED = 										\
 	$(NULL)
 
 $(GDBUS_GENERATED) : gdbus-example-objectmanager.xml
-	$(AM_V_GEN) PYTHONPATH=$(top_srcdir)/gio/gdbus-codegen$${PYTHONPATH:+:$$PYTHONPATH} $(top_builddir)/gio/gdbus-codegen/gdbus-codegen	 	\
+	$(AM_V_GEN) PYTHONPATH=$(top_srcdir)/gio/gdbus-codegen:$(top_builddir)/gio/gdbus-codegen:$$PYTHONPATH $(PYTHON) $(top_builddir)/gio/gdbus-codegen/codegen_main.py	 	\
 		--interface-prefix org.gtk.GDBus.Example.ObjectManager.		\
 		--c-namespace Example 						\
 		--c-generate-object-manager					\



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