Make sure that make plugins-update always regenerates the element API XML files
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 30 May 2009 11:49:04 +0000 (13:49 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 30 May 2009 11:49:04 +0000 (13:49 +0200)
Fixes bug #584209.

gstreamer-sharp/baseplugins/Makefile.am
gstreamer-sharp/baseplugins/inspect/xvimagesink.raw
gstreamer-sharp/coreplugins/Makefile.am

index 11976f7..f949d25 100644 (file)
@@ -10,9 +10,9 @@ XML_FILES = $(patsubst %,%.xml,$(ELEMENTS))
 EXTRA_DIST = $(CUSTOM_FILES) $(INSPECT_FILES)
 CLEANFILES = $(XML_FILES) $(CS_FILES)
 
-plugins-update: $(INSPECT_FILES)
-inspect/%.raw:
-       $(top_builddir)/elementgen/gsts-xmlinspect $(patsubst inspect/%.raw,%,$@) > $@
+plugins-update: $(patsubst inspect/%.raw, inspect-%, $(INSPECT_FILES))
+inspect-%:
+       $(top_builddir)/elementgen/gsts-xmlinspect $(patsubst inspect-%,%,$@) > inspect/$(patsubst inspect-%,%,$@).raw
 
 all: $(XML_FILES) $(CS_FILES)
 
index fa9660b..7819798 100644 (file)
   </object>
  </object>
  <interfaces>
-  <interface name="GstPropertyProbe" />
   <interface name="GstImplementsInterface" />
   <interface name="GstNavigation" />
   <interface name="GstXOverlay" />
   <interface name="GstColorBalance" />
+  <interface name="GstPropertyProbe" />
  </interfaces>
  <pad-templates>
   <pad-template>
index 99ce348..cf3bb49 100644 (file)
@@ -13,9 +13,9 @@ XML_FILES = $(patsubst %,%.xml,$(ELEMENTS))
 EXTRA_DIST = $(CUSTOM_FILES) $(INSPECT_FILES)
 CLEANFILES = $(XML_FILES) $(CS_FILES)
 
-plugins-update: $(INSPECT_FILES)
-inspect/%.raw:
-       $(top_builddir)/elementgen/gsts-xmlinspect $(patsubst inspect/%.raw,%,$@) > $@
+plugins-update: $(patsubst inspect/%.raw, inspect-%, $(INSPECT_FILES))
+inspect-%:
+       $(top_builddir)/elementgen/gsts-xmlinspect $(patsubst inspect-%,%,$@) > inspect/$(patsubst inspect-%,%,$@).raw
 
 all: $(XML_FILES) $(CS_FILES)