mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 05:16:13 +00:00
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:
parent
bc79e3988d
commit
da7eb714c3
1 changed files with 9 additions and 9 deletions
|
@ -26,13 +26,13 @@ nodist__gstmodule_la_SOURCES = gst.c
|
||||||
CLEANFILES = gst.c
|
CLEANFILES = gst.c
|
||||||
EXTRA_DIST = gst.defs gst-types.defs $(GST_OVERRIDES) arg-types.py
|
EXTRA_DIST = gst.defs gst-types.defs $(GST_OVERRIDES) arg-types.py
|
||||||
|
|
||||||
gst.c: $(srcdir)/gst.defs $(srcdir)/arg-types.py $(GST_OVERRIDES)
|
.defs.c:
|
||||||
rm -f $(srcdir)/gst.c \
|
(cd $(srcdir)\
|
||||||
&& $(PYGTK_CODEGEN) \
|
&& $(PYGTK_CODEGEN) \
|
||||||
--load-types $(srcdir)/arg-types.py \
|
--load-types $(srcdir)/arg-types.py \
|
||||||
--register $(srcdir)/gst-types.defs \
|
--register $(srcdir)/gst-types.defs \
|
||||||
--override $(srcdir)/gst.override \
|
--override $*.override \
|
||||||
--prefix pygst $(srcdir)/gst.defs > $(srcdir)/gen-gst.c \
|
--prefix py$* $*.defs) > gen-$*.c \
|
||||||
&& echo '/* GENERATED FILE - DO NOT EDIT */' >> $(srcdir)/gst.c \
|
&& cp gen-$*.c $*.c \
|
||||||
&& cat $(srcdir)/gen-gst.c >> $(srcdir)/gst.c \
|
&& rm -f gen-$*.c
|
||||||
&& rm -f $(srcdir)/gen-gst.c
|
|
||||||
|
|
Loading…
Reference in a new issue