Make sure that make plugins-update always regenerates the element API XML files

Fixes bug #584209.
This commit is contained in:
Sebastian Dröge 2009-05-30 13:49:04 +02:00
parent 2ed4e4dd98
commit 8a0f18ca70
3 changed files with 7 additions and 7 deletions

View 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)

View file

@ -19,11 +19,11 @@
</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>

View 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)