Author: futatuki
Date: Wed Sep 21 18:05:08 2022
New Revision: 1904199

URL: http://svn.apache.org/viewvc?rev=1904199&view=rev
Log:
Documentation: Add optional extra step to build SWIG language bindings

* subversion/bindings/swig/INSTALL
  (BUILDING SWIG BINDINGS FOR SVN ON UNIX Step 2):
    Remove trailing spaces at end of line.
  (BUILDING SWIG BINDINGS FOR SVN ON UNIX Step 2.5):
    New.
  (BUILDING SWIG BINDINGS FOR SVN ON UNIX Step 3, * Python, 1):
    Note this step is not needed if Step 2.5 has done.

Modified:
    subversion/trunk/subversion/bindings/swig/INSTALL

Modified: subversion/trunk/subversion/bindings/swig/INSTALL
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/INSTALL?rev=1904199&r1=1904198&r2=1904199&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/swig/INSTALL (original)
+++ subversion/trunk/subversion/bindings/swig/INSTALL Wed Sep 21 18:05:08 2022
@@ -144,8 +144,8 @@ Step 2:  Build and Install Subversion.
   See Subversion's own INSTALL file for details.
 
   If you are using a Subversion distribution tarball and want to rebuild
-  the SWIG language bindings C source files with your installed SWIG, 
-  you need to execute autogen.sh, because the bundled configure script 
+  the SWIG language bindings C source files with your installed SWIG,
+  you need to execute autogen.sh, because the bundled configure script
   and makefiles don't support it.
 
   If you don't use SWIG bindings C source files already generated,
@@ -169,6 +169,17 @@ Step 2:  Build and Install Subversion.
     libsvn_swig_perl-1.so (for Perl)
     libsvn_swig_ruby-1.so (for Ruby)
 
+
+Step 2.5: [Optional] Clean Old Bindings Intermediate Source Files
+
+  If you are rebuilding bindings with different version of SWIG from
+  previously used, run 'make clean-swig'.  This will clean SWIG version
+  depended intermediate source files.  This step also needs if you are
+  using the Subversion distribution tarball and using autogen.sh to
+  rebuild configure script, because you might use different version of
+  SWIG from one we used to make the tarball.
+
+
 Step 3:  Install Specific Language Bindings
 
 *  Python
@@ -177,7 +188,9 @@ Step 3:  Install Specific Language Bindi
        build tree.  This will clean any prebuilt or previously built bindings
        to avoid a mixture of incompatible bindings source files (e.g., if you
        use the Subversion distribution tarball but want to build Python 2
-       bindings).
+       bindings).  This step is not needed if you run 'make clean-swig'
+       in Step 2.5 just before, because it runs 'make clean-swig-py'
+       internally.
 
    2.  Run 'make swig-py' from the top of the Subversion build tree,
        to build the bindings.


Reply via email to