]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-setup: call autogen only when not using cmake 470/head
authorAlfredo Deza <adeza@redhat.com>
Fri, 9 Sep 2016 19:45:46 +0000 (15:45 -0400)
committerAlfredo Deza <adeza@redhat.com>
Fri, 9 Sep 2016 19:45:46 +0000 (15:45 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-dev-setup/build/build

index 1c9e1a4cd23954a9ee06f507fbac64be2916b1dc..81344dc5a368659adee12e075d46e360020ad3e8 100644 (file)
@@ -64,26 +64,6 @@ then
     FLAVOR_FLAGS="$FLAVOR_FLAGS --with-blkin"
 fi
 
-echo "Running autogen.sh ..."
-./autogen.sh
-echo "Running configure ..."
-./configure \
-  --disable-option-checking \
-  '--prefix=/usr' \
-  '--sbindir=/sbin' \
-  '--localstatedir=/var' \
-  '--sysconfdir=/etc' \
-  '--with-debug' \
-  '--with-nss' \
-  '--with-radosgw' \
-  '--disable-static' \
-  '--without-lttng' \
-  $FLAVOR_FLAGS \
-  'CFLAGS= -Wno-unused-parameter' \
-  'CXXFLAGS=  -Wno-unused-parameter' \
-  --cache-file=/dev/null \
-  --srcdir=.
-
 mkdir -p release
 
 # Contents below used to come from /srv/release_tarball.sh and
@@ -130,6 +110,26 @@ else
       extract_flags="jxf"
       compress_flags="jcf"
     else
+      echo "Running autogen.sh ..."
+      ./autogen.sh
+      echo "Running configure ..."
+      ./configure \
+        --disable-option-checking \
+        '--prefix=/usr' \
+        '--sbindir=/sbin' \
+        '--localstatedir=/var' \
+        '--sysconfdir=/etc' \
+        '--with-debug' \
+        '--with-nss' \
+        '--with-radosgw' \
+        '--disable-static' \
+        '--without-lttng' \
+        $FLAVOR_FLAGS \
+        'CFLAGS= -Wno-unused-parameter' \
+        'CXXFLAGS=  -Wno-unused-parameter' \
+        --cache-file=/dev/null \
+        --srcdir=.
+
       make dist
       make dist-bzip2
       vers=`ls ceph-*.tar.gz | cut -c 6- | sed 's/.tar.gz//'`