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
This commit is contained in:
Johan Dahlin 2004-03-08 18:56:08 +00:00
parent bc79e3988d
commit da7eb714c3

View file

@ -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