diff options
author | Edward Hervey <bilboed@bilboed.com> | 2010-06-27 12:49:02 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2010-06-27 12:49:02 +0200 |
commit | 411138d734c0358b2589177bbd6cb4014ffb850a (patch) | |
tree | cd2a9512dd522e20200972bd4154bf560a108abb /gst-libs | |
parent | 65c5d814c2f929799eeba8a29ef871aa6cc2f325 (diff) |
gst-libs: Simplify make dist by a metric truckload
Just use svn export instead of trying to be smart about which files
we need.
This makes the resulting gst-ffmpeg tarball a bit bigger, but at least
we know we have everything needed to build gst-ffmpeg
Diffstat (limited to 'gst-libs')
-rw-r--r-- | gst-libs/ext/Makefile.am | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/gst-libs/ext/Makefile.am b/gst-libs/ext/Makefile.am index 4f85728..1c249d7 100644 --- a/gst-libs/ext/Makefile.am +++ b/gst-libs/ext/Makefile.am @@ -35,26 +35,10 @@ maintainer-clean: distclean maintainerclean: maintainer-clean dist-local: - svn -r $(FFMPEG_REVISION) co $(FFMPEG_SVN) $(TMP_DIST_DIR) + svn -r $(FFMPEG_REVISION) export $(FFMPEG_SVN) $(TMP_DIST_DIR)/ffmpeg/ @if [ "x$(FFMPEG_EXTERNALS_REVISION)" != x ]; then \ - svn update -r $(FFMPEG_EXTERNALS_REVISION) $(TMP_DIST_DIR)/libswscale; \ + svn update -r $(FFMPEG_EXTERNALS_REVISION) $(TMP_DIST_DIR)/ffmpeg/libswscale; \ fi - mkdir $(DIST_DIR) - pwd - cp $(TMP_DIST_DIR)/*.c $(TMP_DIST_DIR)/*.h $(TMP_DIST_DIR)/Makefile $(TMP_DIST_DIR)/configure $(TMP_DIST_DIR)/version.sh $(DIST_DIR) - cp $(TMP_DIST_DIR)/*.mak $(TMP_DIST_DIR)/Changelog $(TMP_DIST_DIR)/COPYING.* $(TMP_DIST_DIR)/INSTALL $(DIST_DIR) - cp $(TMP_DIST_DIR)/Doxyfile $(TMP_DIST_DIR)/CREDITS $(TMP_DIST_DIR)/MAINTAINERS $(DIST_DIR) - @for d in `cd $(TMP_DIST_DIR) && ls -d */`; \ - do mkdir $(DIST_DIR)/$$d; \ - cp $(TMP_DIST_DIR)/$$d* $(DIST_DIR)/$$d; \ - if [ `ls -d $(TMP_DIST_DIR)/$$d*/ | wc -w` != "" ]; \ - then for id in `cd $(TMP_DIST_DIR)/$$d && ls -d */`; \ - do mkdir $(DIST_DIR)/$$d$$id; \ - cp $(TMP_DIST_DIR)/$$d$$id/*.c $(TMP_DIST_DIR)/$$d$$id/*.h $(TMP_DIST_DIR)/$$d$$id/*.asm $(TMP_DIST_DIR)/$$d$$id/*.S $(DIST_DIR)/$$d$$id; \ - done \ - fi \ - done - mv $(DIST_DIR) $(TMP_DIST_DIR)/ffmpeg touch $(TMP_DIST_DIR)/ffmpeg/config.mak echo "Patching ffmpeg ./configure" sed -e '/Unknown option/ {N;N;s/exit 1//; }' $(TMP_DIST_DIR)/ffmpeg/configure > $(TMP_DIST_DIR)/ffmpeg/configure.tmp |