summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2013-04-10 15:31:41 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2013-04-10 15:43:28 +0200
commitaedef381b2d6fd0580d6b46edb5504fba28daa4d (patch)
treea7387f33e09707ce8e93b85350f8e5ea1103480d /gst-libs
parent25538ca279f29e92793f61eaf1f1d9a924effcb0 (diff)
Fix make dist to include all source files, in any case.
Fix make dist to allow build for either GStreamer 0.10 or 1.0. i.e. make sure to include all source files in either case while generating source tarballs.
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/vaapi/Makefile.am11
1 files changed, 9 insertions, 2 deletions
diff --git a/gst-libs/gst/vaapi/Makefile.am b/gst-libs/gst/vaapi/Makefile.am
index 16a27a60..858fb910 100644
--- a/gst-libs/gst/vaapi/Makefile.am
+++ b/gst-libs/gst/vaapi/Makefile.am
@@ -119,9 +119,11 @@ libgstvaapi_source_priv_h = \
sysdeps.h \
$(NULL)
+libgstvaapi_jpegdec_source_c = gstvaapidecoder_jpeg.c
+libgstvaapi_jpegdec_source_h = gstvaapidecoder_jpeg.h
if USE_JPEG_DECODER
-libgstvaapi_source_c += gstvaapidecoder_jpeg.c
-libgstvaapi_source_h += gstvaapidecoder_jpeg.h
+libgstvaapi_source_c += $(libgstvaapi_jpegdec_source_c)
+libgstvaapi_source_h += $(libgstvaapi_jpegdec_source_h)
endif
libgstvaapi_drm_source_c = \
@@ -395,6 +397,11 @@ $(PKG_VERSION_FILE): $(NEW_VERSION_FILE)
BUILT_SOURCES = gstvaapiversion.h
EXTRA_DIST = gstvaapiversion.h.in $(PKG_VERSION_FILE)
+EXTRA_DIST += \
+ $(libgstvaapi_jpegdec_source_c) \
+ $(libgstvaapi_jpegdec_source_h) \
+ $(NULL)
+
CLEANFILES = \
$(OLD_VERSION_FILE) \
$(NEW_VERSION_FILE) \