On the 'cmake' branch: release.py: when preparing CMake for release, run the
gen-make.py with --release argument.

* tools/dist/release.py
  (roll_tarballs): Use release mode for gen-make.py.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/cmake@1920716 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/tools/dist/release.py b/tools/dist/release.py
index fd6c989..7d746e6 100755
--- a/tools/dist/release.py
+++ b/tools/dist/release.py
@@ -911,7 +911,7 @@
     run_script(args.verbose,
                '%s/tools/po/po-update.sh pot' % get_workdir(args.base_dir))
     run_script(args.verbose,
-               'python gen-make.py -t cmake')
+               'python gen-make.py -t cmake --release')
     clean_pycache()  # as with clean_autom4te, is this pointless on Windows?
     os.chdir(cwd)
     clean_autom4te() # dist.sh does it but pointless on Windows?
@@ -929,7 +929,7 @@
                   ./autogen.sh --release''',
                hide_stderr=True) # SWIG is noisy
     run_script(args.verbose,
-               'python gen-make.py -t cmake')
+               'python gen-make.py -t cmake --release')
     clean_pycache()  # without this, tarballs contain empty __pycache__ dirs
     os.chdir(cwd)
     clean_autom4te() # dist.sh does it but probably pointless