build: introduce $SKIP_GIT for make dist (off-line or behind a proxy).
[profile/ivi/pulseaudio.git] / Makefile.am
index bc46cac..f4dd998 100644 (file)
@@ -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