~epii/+junk/encenv

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: epii
  • Date: 2011-03-20 15:47:07 UTC
  • Revision ID: public.epii@gmail.com-20110320154707-qua7juu49on4300u
switching ffmpeg's repository SVN -> git

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
CD = cd
13
13
TOUCH = touch
14
14
QUILT = quilt
15
 
SVN = svn
16
15
GIT = git
17
16
BZR = bzr
18
17
APT_GET ?= @echo "W: Skipping apt-get... (set APT_GET=\"sudo apt-get\" to enable automatic installation)" && true
49
48
FFPRESET_DEPS = autoconf automake
50
49
 
51
50
# FFmpeg repository root
52
 
FFMPEG_REPOS_ROOT = svn://svn.ffmpeg.org/ffmpeg
 
51
FFMPEG_REPOS_ROOT = git://git.videolan.org/ffmpeg.git
53
52
# libx264 repository root
54
53
X264_REPOS_ROOT = git://git.videolan.org/x264.git
55
54
 
98
97
ffmpeg-repos: ffmpeg-repos-stamp
99
98
ffmpeg-repos-stamp: all-deps-stamp
100
99
        if [ ! -d $(FFMPEG_REPOS_DIR) ]; then \
101
 
                $(SVN) checkout $(FFMPEG_REPOS_ROOT)/trunk $(FFMPEG_REPOS_DIR); \
 
100
                $(GIT) clone $(FFMPEG_REPOS_ROOT) $(FFMPEG_REPOS_DIR); \
102
101
        fi
103
102
        $(TOUCH) $@
104
103
 
105
104
ffmpeg-update: ffmpeg-update-stamp
106
105
ffmpeg-update-stamp: ffmpeg-repos-stamp
107
 
        $(CD) $(FFMPEG_REPOS_DIR) && $(SVN) update
 
106
        $(CD) $(FFMPEG_REPOS_DIR) && $(GIT) pull
108
107
        $(TOUCH) $@
109
108
 
110
109
ffmpeg-deps: ffmpeg-deps-stamp