Commit da7eb714 authored by Johan Dahlin's avatar Johan Dahlin

I give up, use the same mechanism as in PyGTK, if this is not working, then the slave is broken

Original commit message from CVS:
I give up, use the same mechanism as in PyGTK, if this is not working, then the slave is broken
parent bc79e398
......@@ -26,13 +26,13 @@ nodist__gstmodule_la_SOURCES = gst.c
CLEANFILES = gst.c
EXTRA_DIST = gst.defs gst-types.defs $(GST_OVERRIDES) arg-types.py
gst.c: $(srcdir)/gst.defs $(srcdir)/arg-types.py $(GST_OVERRIDES)
rm -f $(srcdir)/gst.c \
&& $(PYGTK_CODEGEN) \
.defs.c:
(cd $(srcdir)\
&& $(PYGTK_CODEGEN) \
--load-types $(srcdir)/arg-types.py \
--register $(srcdir)/gst-types.defs \
--override $(srcdir)/gst.override \
--prefix pygst $(srcdir)/gst.defs > $(srcdir)/gen-gst.c \
&& echo '/* GENERATED FILE - DO NOT EDIT */' >> $(srcdir)/gst.c \
&& cat $(srcdir)/gen-gst.c >> $(srcdir)/gst.c \
&& rm -f $(srcdir)/gen-gst.c
--register $(srcdir)/gst-types.defs \
--override $*.override \
--prefix py$* $*.defs) > gen-$*.c \
&& cp gen-$*.c $*.c \
&& rm -f gen-$*.c
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment