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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Maarten Bosmans <mkbosmans@xxxxxxxxx>

---
 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




[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux