diff --git a/general/prog/subversion.xml b/general/prog/subversion.xml index d8391c6141..c7f35b64e6 100644 --- a/general/prog/subversion.xml +++ b/general/prog/subversion.xml @@ -87,11 +87,8 @@ Recommended - , - (with sqlite support for the tests), - (for handling http:// and https:// URLs), and - (for building Perl, Python and optionally Ruby - bindings) + and + (for handling http:// and https:// URLs) - To compile Ruby - bindings, issue the following command: + If you want to compile Perl, + Python2, or Ruby + bindings, issue any of the following command: + + + make swig-pl for Perl, +make swig-py \ + swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \ + swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn for Python, +make swig-rb for Ruby. + -make swig-rb To test the results, issue: make -k check. One test @@ -190,20 +191,17 @@ make swig-py swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \ To test the results of any of the SWIG bindings, you can use any of the following commands: + make check-swig-pl, + make check-swig-py, or + make check-swig-rb. -make check-swig-pl && -make check-swig-py && -make check-swig-rb Now, as the root user: make install && -make install-swig-pl && -make install-swig-py swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \ - swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn && install -v -m755 -d /usr/share/doc/subversion-&subversion-version; && cp -v -R doc/* \ /usr/share/doc/subversion-&subversion-version; @@ -211,47 +209,41 @@ cp -v -R doc/* \ If you built the Java bindings, issue the following command as the root user to install them: + make install-javahl -make install-javahl - If you built the SWIG - Ruby bindings, issue the following commands - as the root user to install - them: + If you built the Perl, + Python2, or + Ruby bindings, issue any of the following + commands as the root user + to install them: + + + make install-swig-pl +make install-swig-py \ + swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \ + swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn +make install-swig-rb - -make install-swig-rb Command Explanations - - sed -i 's#Makefile.PL.in$...: Corrects a - bug in the Makefile, which prevents using - parallel jobs for Perl bindings. - - --with-apache-libexecdir: - This switch sets Apache HTTPD - module install dir. - - - - make swig-<language>: Builds <language> - bindings. - - - - make install-swig-<language>: Installs - <language> bindings. + If is installed, the shared + Apache modules are + built. This switch allows to have those modules installed to + Apache's configured module dir instead + of /usr/libexec. It has no effect + if Apache is not installed. @@ -317,10 +309,10 @@ cp -v -R doc/* \ /usr/include/subversion-1, - /usr/lib/perl5/site_perl/&lfs-perl-version;/auto/SVN, - /usr/lib/perl5/site_perl/&lfs-perl-version;/SVN, - /usr/lib/python&python2-majorver;/site-packages/libsvn, - /usr/lib/python&python2-majorver;/site-packages/svn, + /usr/lib/perl5/site_perl/&lfs-perl-version;/auto/SVN (optional), + /usr/lib/perl5/site_perl/&lfs-perl-version;/SVN (optional), + /usr/lib/python&python2-majorver;/site-packages/libsvn (optional), + /usr/lib/python&python2-majorver;/site-packages/svn (optional), /usr/lib/ruby/site_ruby/<x.y>/i686-linux/svn (optional), /usr/lib/ruby/site_ruby/<x.y>/svn (optional),