[pulseaudio-discuss] [PATCH] Flip default to no git pull on make dist

mkbosmans at gmail.com mkbosmans at gmail.com
Wed Mar 16 02:47:20 PDT 2011


From: Maarten Bosmans <mkbosmans at gmail.com>

---
 Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index d69087a..9ae2948 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -73,8 +73,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
-- 
1.7.1




More information about the pulseaudio-discuss mailing list