mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +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)
|
||||
|
||||
libgstvaapi_parse_gen_sources = \
|
||||
$(libgstvaapi_parse_gen_source_c) \
|
||||
$(libgstvaapi_parse_gen_source_h) \
|
||||
$(libgstvaapi_parse_gen_source_c) \
|
||||
$(libgstvaapi_parse_gen_source_h) \
|
||||
$(libgstvaapi_1_4p_parse_gen_source_c) \
|
||||
$(libgstvaapi_1_4p_parse_gen_source_h) \
|
||||
$(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_h = gstvaapiparse.h $(libgstvaapi_parse_gen_source_h)
|
||||
|
||||
|
@ -233,17 +232,21 @@ videoparsers_patches_dir = \
|
|||
include $(videoparsers_patches_dir)/series.frag
|
||||
videoparsers_patches = \
|
||||
$(videoparsers_patches_base:%=$(top_srcdir)/patches/videoparsers/%)
|
||||
videoparsers_orig_sources = \
|
||||
$(libgstvaapi_parse_gen_sources:%=$(videoparsers_sources_dir)/%)
|
||||
|
||||
videoparsers.prepare.stamp: $(videoparsers_patches)
|
||||
@for f in $(libgstvaapi_parse_gen_sources); do \
|
||||
cp -f $(videoparsers_sources_dir)/$$f $$f; \
|
||||
done
|
||||
@for f in $(videoparsers_patches); do \
|
||||
patch -p3 < $$f; \
|
||||
$(libgstvaapi_parse_gen_sources): $(videoparsers_orig_sources)
|
||||
cp -f $(videoparsers_sources_dir)/$@ $@
|
||||
|
||||
videoparsers.prepare.stamp: $(videoparsers_patches) $(libgstvaapi_parse_gen_sources)
|
||||
@for f in $(videoparsers_patches); do \
|
||||
patch -p3 < $$f; \
|
||||
done
|
||||
@touch $@
|
||||
|
||||
BUILT_SOURCES += videoparsers.prepare.stamp
|
||||
BUILT_SOURCES += \
|
||||
$(libgstvaapi_parse_gen_sources) \
|
||||
videoparsers.prepare.stamp
|
||||
endif
|
||||
|
||||
CLEANFILES = \
|
||||
|
|
Loading…
Reference in a new issue