Author: rinrab
Date: Thu Jul 18 23:28:35 2024
New Revision: 1919355
URL: http://svn.apache.org/viewvc?rev=1919355&view=rev
Log:
On the 'cmake' branch: Run gen-make.py for CMake into tarball (for Windows
and Linux). This will generate targets.cmake and it will not be required to
run gen-make when compiling from tarball.
* tools/dist/release.py
(roll_tarballs): Run `python gen-make.py -t cmake' for tarballs.
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=1919355&r1=1919354&r2=1919355&view=diff
==============================================================================
--- subversion/branches/cmake/tools/dist/release.py (original)
+++ subversion/branches/cmake/tools/dist/release.py Thu Jul 18 23:28:35 2024
@@ -910,6 +910,8 @@ def roll_tarballs(args):
# line endings and won't run, so use the one in the working copy.
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')
clean_pycache() # as with clean_autom4te, is this pointless on Windows?
os.chdir(cwd)
clean_autom4te() # dist.sh does it but pointless on Windows?
@@ -926,6 +928,8 @@ def roll_tarballs(args):
'''tools/po/po-update.sh pot
./autogen.sh --release''',
hide_stderr=True) # SWIG is noisy
+ run_script(args.verbose,
+ 'python gen-make.py -t cmake')
clean_pycache() # without this, tarballs contain empty __pycache__ dirs
os.chdir(cwd)
clean_autom4te() # dist.sh does it but probably pointless