summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMaarten Bosmans <mkbosmans@gmail.com>2011-03-16 10:47:20 +0100
committerColin Guthrie <cguthrie@mandriva.org>2011-03-18 00:13:04 +0000
commitefcddf68c7d8e7530ea82282c599fabfc34871ea (patch)
treebd3e46baeab2f8ece1042132aa1b3b07849e12ba /Makefile.am
parentb8db02755addb7c00adde9b1bd05d486863f46a6 (diff)
build-sys: Flip default to no git pull on make dist
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index a8a9eaac..ca43de10 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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