svn commit: r1920716 - /subversion/branches/cmake/tools/dist/release.py

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <[email protected]>
Author: rinrab
Date: Mon Sep 16 12:28:08 2024
New Revision: 1920716

URL: http://svn.apache.org/viewvc?rev=1920716&view=rev
Log:
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.

Modified:
    subversion/branches/cmake/tools/dist/release.py

Modified: subversion/branches/cmake/tools/dist/release.py
URL: http://svn.apache.org/viewvc/subversion/branches/cmake/tools/dist/release.py?rev=1920716&r1=1920715&r2=1920716&view=diff
==============================================================================
--- subversion/branches/cmake/tools/dist/release.py (original)
+++ subversion/branches/cmake/tools/dist/release.py Mon Sep 16 12:28:08 2024
@@ -911,7 +911,7 @@ def roll_tarballs(args):
     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 @@ def roll_tarballs(args):
                   ./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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.