summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2005-07-16 06:45:53 +0000
committerJohn (J5) Palmieri <johnp@redhat.com>2005-07-16 06:45:53 +0000
commit6b2922cdca9ce078705c15e3dcdf95eb6e330af4 (patch)
tree68d32a7f9d0018023d775969ee8d23858aa0b7ec
parent66319122ea664fef87cbb78e301ed1637a5cc72b (diff)
* tweak the pyrexc compile so we can work with the sources in the srcdirdbus-0.35.1
-rw-r--r--python/Makefile.am9
1 files changed, 3 insertions, 6 deletions
diff --git a/python/Makefile.am b/python/Makefile.am
index 7a8859bd..3621800a 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -32,14 +32,11 @@ CLEANFILES = \
dbus_bindings.pxd: $(srcdir)/dbus_bindings.pxd.in $(srcdir)/extract.py
- -cp $(srcdir)/dbus_h_wrapper.h ./
- -$(PYTHON) $(srcdir)/extract.py $(srcdir)/dbus_bindings.pxd.in -I$(srcdir)/$(top_builddir) > $@.tmp && mv $@.tmp $@
+ -$(PYTHON) $(srcdir)/extract.py $(srcdir)/dbus_bindings.pxd.in -I$(srcdir)/$(top_builddir) -I$(srcdir) > $@.tmp && mv $@.tmp $@
dbus_bindings.c: $(srcdir)/dbus_bindings.pyx dbus_bindings.pxd
- -cp $(srcdir)/dbus_bindings.pyx ./
- -pyrexc dbus_bindings.pyx
+ -pyrexc $(srcdir)/dbus_bindings.pyx -I. -o ./dbus_bindings.c
dbus_glib_bindings.c: $(srcdir)/dbus_glib_bindings.pyx dbus_bindings.pxd
- -cp $(srcdir)/dbus_glib_bindings.pyx ./
- -pyrexc dbus_glib_bindings.pyx
+ -pyrexc $(srcdir)/dbus_glib_bindings.pyx -I. -o ./dbus_glib_bindings.c