]> code.delx.au - pulseaudio/blobdiff - Makefile.am
Merge remote-tracking branch 'mkbosmans/mingw32-build'
[pulseaudio] / Makefile.am
index b8e22eaecdcb848feed980705e26b4f600b480bf..ca43de108af306247b47b3e06824c8431634fa8b 100644 (file)
@@ -72,11 +72,12 @@ 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
+       echo $(VERSION) > $(distdir)/.version
 
 .PHONY: homepage distcleancheck doxygen