]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
make-dist: do not generate ceph_ver.h
authorSage Weil <sage@redhat.com>
Wed, 26 Oct 2016 14:51:06 +0000 (09:51 -0500)
committerSage Weil <sage@redhat.com>
Mon, 31 Oct 2016 14:10:47 +0000 (10:10 -0400)
cmake does this on its own, and puts it in a different location (the build
dir).

Signed-off-by: Sage Weil <sage@redhat.com>
make-dist

index acfea8725c322c7d73edc7f66bac72b2a40fa820..c66e988cdf3506ad4266547968e5ea3a0491884c 100755 (executable)
--- 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<shortsha1>.  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