]> code.delx.au - pulseaudio/blobdiff - bootstrap.sh
bootstrap: Ship git-version-gen with the tarball.
[pulseaudio] / bootstrap.sh
index d5025db61a06056b6a4ca22224cc7ab84b98e520..aa9755faacf8d462249830a5563d935f136e39e5 100755 (executable)
@@ -46,6 +46,11 @@ if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then
     chmod -c +x  .git/hooks/pre-commit
 fi
 
+if [ -f .tarball-version ]; then
+    echo "Marking tarball version as modified."
+    echo -n `cat .tarball-version | sed 's/-rebootstrapped$//'`-rebootstrapped >.tarball-version
+fi
+
 # We check for this here, because if pkg-config is not found in the
 # system, it's likely that the pkg.m4 macro file is also not present,
 # which will make PKG_PROG_PKG_CONFIG be undefined and the generated