]> code.delx.au - pulseaudio/commitdiff
build-sys: Flip default to no git pull on make dist
authorMaarten Bosmans <mkbosmans@gmail.com>
Wed, 16 Mar 2011 09:47:20 +0000 (10:47 +0100)
committerColin Guthrie <cguthrie@mandriva.org>
Fri, 18 Mar 2011 00:13:04 +0000 (00:13 +0000)
Makefile.am

index a8a9eaacafa9d6b409012b09ffa2cf61d7be3ee9..ca43de108af306247b47b3e06824c8431634fa8b 100644 (file)
@@ -72,8 +72,8 @@ fedora-snapshot: dist
 
 dist-hook:
        if test -d .git ; then \
-               test -z $$SKIP_GIT && git pull ; \
-               chmod u+w ${distdir}/ChangeLog || true ; \
+               test -z $$USE_GIT || git pull ; \
+               test -f ${distdir}/ChangeLog && chmod u+w ${distdir}/ChangeLog ; \
                ( git-changelog.perl || echo "git-changelog.perl failed." ) > ${distdir}/ChangeLog 2>&1 ; \
        fi
        echo $(VERSION) > $(distdir)/.tarball-version