gst-libs: handle make dist for out-of-tree build

This commit is contained in:
Mark Nauwelaerts 2014-02-16 15:58:15 +01:00
parent fe224775cf
commit 7f5132b34f

View file

@ -36,7 +36,7 @@ maintainer-clean: distclean
maintainerclean: maintainer-clean
dist-local:
GIT_DIR=libav/.git git checkout-index --prefix=$(TMP_DIST_DIR)/libav/ -a
GIT_DIR=$(srcdir)/libav/.git git checkout-index --prefix=$(abs_builddir)/libav/$(TMP_DIST_DIR)/libav/ -a
touch libav/$(TMP_DIST_DIR)/libav/config.mak
echo "Patching libav ./configure"
sed -e '/Unknown option/ {N;N;s/exit 1//; }' libav/$(TMP_DIST_DIR)/libav/configure > libav/$(TMP_DIST_DIR)/libav/configure.tmp