From: Marc-André Lureau Date: Thu, 8 Jan 2009 10:29:09 +0000 (+0200) Subject: build: introduce $SKIP_GIT for make dist (off-line or behind a proxy). X-Git-Tag: v0.9.15-test1~250^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=db193f17200d63bfe59bc3a9196f15d5d59efaee;p=platform%2Fupstream%2Fpulseaudio.git build: introduce $SKIP_GIT for make dist (off-line or behind a proxy). There might be a better way doing that, but 'alias git=echo' is not a solution, :( --- diff --git a/Makefile.am b/Makefile.am index bc46cac..f4dd998 100644 --- a/Makefile.am +++ b/Makefile.am @@ -56,7 +56,7 @@ fedora-snapshot: dist dist-hook: if test -d .git ; then \ - git pull ; \ + test -z $$SKIP_GIT && git pull ; \ chmod u+w ${distdir}/ChangeLog || true ; \ ( git-changelog.perl || echo "git-changelog.perl failed." ) > ${distdir}/ChangeLog 2>&1 ; \ fi