Commit 3bb4f8ad authored by Rich Prohaska's avatar Rich Prohaska

#15 build mysql source tarball

parent 6eade992
...@@ -196,6 +196,7 @@ function generate_cmake_cmd_rpm() { ...@@ -196,6 +196,7 @@ function generate_cmake_cmd_rpm() {
fi fi
} }
package_source_done=0
if [ $build_tgz != 0 ] ; then if [ $build_tgz != 0 ] ; then
mkdir -p build.$cmake_build_type mkdir -p build.$cmake_build_type
...@@ -203,6 +204,10 @@ if [ $build_tgz != 0 ] ; then ...@@ -203,6 +204,10 @@ if [ $build_tgz != 0 ] ; then
# actually build # actually build
eval $(generate_cmake_cmd) .. eval $(generate_cmake_cmd) ..
if [ $package_source_done = 0 ] ; then
make package_source
package_source_done=1
fi
make package -j$makejobs make package -j$makejobs
popd popd
fi fi
...@@ -214,6 +219,10 @@ if [ $build_rpm != 0 ] ; then ...@@ -214,6 +219,10 @@ if [ $build_rpm != 0 ] ; then
# actually build # actually build
eval $(generate_cmake_cmd; generate_cmake_cmd_rpm) .. eval $(generate_cmake_cmd; generate_cmake_cmd_rpm) ..
if [ $package_source_done = 0 ] ; then
make package_source
package_source_done=1
fi
make package -j$makejobs make package -j$makejobs
popd popd
fi fi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment