mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 12:41:05 +00:00
build: declare real built files
When runnig the `make dist` target from a clean tree, it fails because if could not find the copied files from codecparsers submodule. They weren't copied because they weren't declared as built sources. This patch removes the stamp mechanism and use the actual file list to copy as the built sources. Also it fixes the duplication of the parser files. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> https://bugzilla.gnome.org/show_bug.cgi?id=755525
This commit is contained in:
parent
a24918037d
commit
fc8a0d121c
1 changed files with 15 additions and 12 deletions
|
@ -185,13 +185,12 @@ libgstvaapi_1_4p_parse_gen_source_h = \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
libgstvaapi_parse_gen_sources = \
|
libgstvaapi_parse_gen_sources = \
|
||||||
$(libgstvaapi_parse_gen_source_c) \
|
$(libgstvaapi_parse_gen_source_c) \
|
||||||
$(libgstvaapi_parse_gen_source_h) \
|
$(libgstvaapi_parse_gen_source_h) \
|
||||||
|
$(libgstvaapi_1_4p_parse_gen_source_c) \
|
||||||
|
$(libgstvaapi_1_4p_parse_gen_source_h) \
|
||||||
$(NUL)
|
$(NUL)
|
||||||
|
|
||||||
libgstvaapi_parse_gen_sources += $(libgstvaapi_1_4p_parse_gen_source_c)
|
|
||||||
libgstvaapi_parse_gen_sources += $(libgstvaapi_1_4p_parse_gen_source_h)
|
|
||||||
|
|
||||||
libgstvaapi_parse_source_c = gstvaapiparse.c $(libgstvaapi_parse_gen_source_c)
|
libgstvaapi_parse_source_c = gstvaapiparse.c $(libgstvaapi_parse_gen_source_c)
|
||||||
libgstvaapi_parse_source_h = gstvaapiparse.h $(libgstvaapi_parse_gen_source_h)
|
libgstvaapi_parse_source_h = gstvaapiparse.h $(libgstvaapi_parse_gen_source_h)
|
||||||
|
|
||||||
|
@ -233,17 +232,21 @@ videoparsers_patches_dir = \
|
||||||
include $(videoparsers_patches_dir)/series.frag
|
include $(videoparsers_patches_dir)/series.frag
|
||||||
videoparsers_patches = \
|
videoparsers_patches = \
|
||||||
$(videoparsers_patches_base:%=$(top_srcdir)/patches/videoparsers/%)
|
$(videoparsers_patches_base:%=$(top_srcdir)/patches/videoparsers/%)
|
||||||
|
videoparsers_orig_sources = \
|
||||||
|
$(libgstvaapi_parse_gen_sources:%=$(videoparsers_sources_dir)/%)
|
||||||
|
|
||||||
videoparsers.prepare.stamp: $(videoparsers_patches)
|
$(libgstvaapi_parse_gen_sources): $(videoparsers_orig_sources)
|
||||||
@for f in $(libgstvaapi_parse_gen_sources); do \
|
cp -f $(videoparsers_sources_dir)/$@ $@
|
||||||
cp -f $(videoparsers_sources_dir)/$$f $$f; \
|
|
||||||
done
|
videoparsers.prepare.stamp: $(videoparsers_patches) $(libgstvaapi_parse_gen_sources)
|
||||||
@for f in $(videoparsers_patches); do \
|
@for f in $(videoparsers_patches); do \
|
||||||
patch -p3 < $$f; \
|
patch -p3 < $$f; \
|
||||||
done
|
done
|
||||||
@touch $@
|
@touch $@
|
||||||
|
|
||||||
BUILT_SOURCES += videoparsers.prepare.stamp
|
BUILT_SOURCES += \
|
||||||
|
$(libgstvaapi_parse_gen_sources) \
|
||||||
|
videoparsers.prepare.stamp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CLEANFILES = \
|
CLEANFILES = \
|
||||||
|
|
Loading…
Reference in a new issue