[vlc-commits] contrib: x26410b: do not download same tarball twice
Rémi Denis-Courmont
git at videolan.org
Tue Feb 21 18:45:22 CET 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Feb 21 19:44:49 2017 +0200| [154d10a52fd87222f9ef91c92c59c7f727b19e6c] | committer: Rémi Denis-Courmont
contrib: x26410b: do not download same tarball twice
(see also vorbisenc)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=154d10a52fd87222f9ef91c92c59c7f727b19e6c
---
contrib/src/x264/rules.mak | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a/contrib/src/x264/rules.mak b/contrib/src/x264/rules.mak
index 63de162..2a37288 100644
--- a/contrib/src/x264/rules.mak
+++ b/contrib/src/x264/rules.mak
@@ -45,12 +45,6 @@ $(TARBALLS)/x262-git.tar.xz:
$(TARBALLS)/x262-git.tar.gz:
$(call download,$(X262_SNAPURL))
-$(TARBALLS)/x26410b-git.tar.xz:
- $(call download_git,$(X264_GITURL))
-
-$(TARBALLS)/x26410b-git.tar.bz2:
- $(call download,$(X264_SNAPURL))
-
$(TARBALLS)/x264-git.tar.xz:
$(call download_git,$(X264_GITURL))
@@ -61,20 +55,19 @@ $(TARBALLS)/x264-git.tar.bz2:
$(warning $@ not implemented)
touch $@
-.sum-x26410b: x26410b-git.tar.bz2
- $(warning $@ not implemented)
+.sum-x26410b: .sum-x264
touch $@
.sum-x264: x264-git.tar.bz2
$(warning $@ not implemented)
touch $@
-x264 x26410b: %: %-git.tar.bz2 .sum-%
+x264 x26410b: %: x264-git.tar.bz2 .sum-%
rm -Rf $*-git
mkdir -p $*-git
tar xvjf "$<" --strip-components=1 -C $*-git
$(UPDATE_AUTOCONFIG)
- $(MOVE)
+ mv $*-git $*
x262: x262-git.tar.gz .sum-x262
rm -Rf $@-git
More information about the vlc-commits
mailing list