From: Sage Weil Date: Wed, 26 Oct 2016 14:51:06 +0000 (-0500) Subject: make-dist: do not generate ceph_ver.h X-Git-Tag: v11.1.0~457^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=dd6d3d920b6d82c20a1031a406d7e7f3a8118dac;p=ceph.git make-dist: do not generate ceph_ver.h cmake does this on its own, and puts it in a different location (the build dir). Signed-off-by: Sage Weil --- diff --git a/make-dist b/make-dist index acfea8725c32..c66e988cdf35 100755 --- a/make-dist +++ b/make-dist @@ -32,8 +32,8 @@ bin/git-archive-all.sh --prefix ceph-$version/ \ $outfile.tar # populate files with version strings -echo "including src/.git_version, src/ceph_ver.h, ceph.spec" -src/make_version -g src/.git_version -c src/ceph_ver.h +echo "including src/.git_version, ceph.spec" +src/make_version -g src/.git_version # if the version has '-' in it, it has a 'release' part, # like vX.Y.Z-N-g. If it doesn't, it's just @@ -53,7 +53,7 @@ cat ceph.spec.in | \ sed "s/@RPM_RELEASE@/$rpm_release/g" | sed "s/@TARBALL_BASENAME@/ceph-$version/g" > ceph.spec ln -s . $outfile -tar cvf $outfile.version.tar $outfile/src/.git_version $outfile/src/ceph_ver.h $outfile/ceph.spec +tar cvf $outfile.version.tar $outfile/src/.git_version $outfile/ceph.spec tar --concatenate -f $outfile.both.tar $outfile.version.tar tar --concatenate -f $outfile.both.tar $outfile.tar mv $outfile.both.tar $outfile.tar