[vlc-devel] commit: contrib: use git-archive for x264 source ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Sep 17 18:03:19 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Sep 17 19:02:59 2009 +0300| [caeb778a83cf6a5b45c212a80c5855c7f6866a2d] | committer: Rémi Denis-Courmont 

contrib: use git-archive for x264 source

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=caeb778a83cf6a5b45c212a80c5855c7f6866a2d
---

 extras/contrib/src/Makefile |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index a8b397e..30dd532 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -1386,9 +1386,10 @@ endif
 endif
 	touch $@
 
-ifdef SVN
+ifdef GIT
 x264-source: x264
-	tar cfvz x264-$(DATE).tar.gz x264
+	cd x264 && \
+	git archive --format=tar HEAD | bzip2 > ../x264-$(DATE).tar.bz2
 
 SOURCE += x264-source
 endif




More information about the vlc-devel mailing list