]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
SALOME 6.5.0 preparation: Sphinx 1.0.7 -> 1.1.3
authorinv <inv@opencascade.com>
Fri, 30 Mar 2012 13:40:46 +0000 (13:40 +0000)
committerinv <inv@opencascade.com>
Fri, 30 Mar 2012 13:40:46 +0000 (13:40 +0000)
12 files changed:
config_CentOS_5.5_64bit.xml
config_Debian_4.0.xml
config_Debian_4.0_64bit.xml
config_Debian_5.0_64bit.xml
config_Debian_6.0_64bit.xml
config_Mandriva_2008.0.xml
config_Mandriva_2008.0_64bit.xml
config_Mandriva_2010.0.xml
config_Mandriva_2010.0_64bit.xml
config_Red_Hat_Enterprise_WS_4_64bit.xml
config_Scientific_SL_5.1_64bit.xml
config_files/Sphinx.sh

index 3c0ae9894842479df92479d527289bc266561c3c..d2fe27436a1e1b11f5e335145ab3f7cc1ea8424a 100755 (executable)
     </product>
     <product name="Sphinx">
       <dep>Python</dep>
+      <dep>docutils</dep>
     </product>
     <product name="Sip">
       <dep>Python</dep>
index 4fb82508addaabfb97aba51228380c015e26ed22..ed3bef3b1a0101b798b7364b0f4586f4846b6ac0 100755 (executable)
     </product>
     <product name="Sphinx">
       <dep>Python</dep>
+      <dep>docutils</dep>
     </product>
     <product name="Sip">
       <dep>Python</dep>
index 5eda911dcedfe2bb2b3e05c97edd7b72d2021d22..e348bb99024a427775b5e26465122a1d99a7096c 100755 (executable)
     </product>
     <product name="Sphinx">
       <dep>Python</dep>
+      <dep>docutils</dep>
     </product>
     <product name="Sip">
       <dep>Python</dep>
index 42a5beec0a5e826a3bec3f1c87652faff33901d2..2ed218c5341f6794c5553baa52eb9c907b9240b0 100755 (executable)
     </product>
     <product name="Sphinx">
       <dep>Python</dep>
+      <dep>docutils</dep>
     </product>
     <product name="Sip">
       <dep>Python</dep>
index 1afe7866ed5dd7e58deba278e158d14fc59aa3ed..85ac6bede7ef3da142baa39b41d823001de26511 100755 (executable)
     </product>
     <product name="Sphinx">
       <dep>Python</dep>
+      <dep>docutils</dep>
     </product>
     <product name="Sip">
       <dep>Python</dep>
index de664e2087a4f729554b4388a7360aaa710e8565..85d86cb0d6df5662c07a6e866bccfe346b3ec172 100755 (executable)
     </product>
     <product name="Sphinx">
       <dep>Python</dep>
+      <dep>docutils</dep>
     </product>
     <product name="Sip">
       <dep>Python</dep>
index c6726e83348a2256dc2c8357536e327b20d38f1e..32ebbbe4bf51464a3302184e2a3f775f36342c8f 100755 (executable)
     </product>
     <product name="Sphinx">
       <dep>Python</dep>
+      <dep>docutils</dep>
     </product>
     <product name="Sip">
       <dep>Python</dep>
index aabbb472647ca6926cc9d7450c02fa18d5bfe552..5a718ff2ac8f0d2e1f8344f8548904dd4ab573cf 100755 (executable)
     </product>
     <product name="Sphinx">
       <dep>Python</dep>
+      <dep>docutils</dep>
     </product>
     <product name="Sip">
       <dep>Python</dep>
index 1d1708514d0796dd3317e3fff8b557040070b6dc..31d636d040d3dbb220df30ca1692f637b1730458 100755 (executable)
     </product>
     <product name="Sphinx">
       <dep>Python</dep>
+      <dep>docutils</dep>
     </product>
     <product name="Sip">
       <dep>Python</dep>
index 7401ce42df1956fa9cda4f916bf862f45d038385..b08d9e0e0ebeeb44b04f548f9d76833d4de98007 100755 (executable)
     </product>
     <product name="Sphinx">
       <dep>Python</dep>
+      <dep>docutils</dep>
     </product>
     <product name="Sip">
       <dep>Python</dep>
index 22c7f7488c167c526e236e65c42157c76f004703..dfca6e0adf2e23be7330c0b3f0b818b65b51d91d 100755 (executable)
     </product>
     <product name="Sphinx">
       <dep>Python</dep>
+      <dep>docutils</dep>
     </product>
     <product name="Sip">
       <dep>Python</dep>
index ecb16a5c9f3630f86070263a69354708e45889db..ff8cd04ef28263acea7049e260df37a2e991358d 100755 (executable)
@@ -1,12 +1,12 @@
 #!/bin/bash -noprofile
 
 ####################################################################################
-#  File      : sphinx-1.0.7.sh
+#  File      : Sphinx.sh
 #  Created   : Thu Dec 18 12:01:00 2002
 #  Author    : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com)
 #  Project   : SALOME
 #  Module    : Installation Wizard
-#  Copyright : 2002-2008 CEA
+#  Copyright : 2002-2012 CEA
 #
 #  This script is the part of the SALOME installation procedure.
 #
@@ -77,13 +77,11 @@ install_source
 # build sources
 test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
 
-mkdir ${PRODUCT_DIR}/bin
-mkdir ${PRODUCT_DIR}/lib
-mkdir ${PRODUCT_DIR}/lib/python${PYTHON_VERSION}
-mkdir ${PRODUCT_DIR}/lib/python${PYTHON_VERSION}/site-packages
+mkdir -p ${PRODUCT_DIR}/bin
+mkdir -p ${PRODUCT_DIR}/lib/python${PYTHON_VERSION}/site-packages
 
-export PYTHONPATH=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}/lib/python${PYTHON_VERSION}/site-packages:${PYTHONPATH}
-export PATH=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}/bin:${PATH}
+export PYTHONPATH=${PRODUCT_DIR}/lib/python${PYTHON_VERSION}/site-packages:${PYTHONPATH}
+export PATH=${PRODUCT_DIR}/bin:${PATH}
 
 export PYTHONDONTWRITEBYTECODE=
 
@@ -99,29 +97,11 @@ cd ${PRODUCT_SRC_DIR}/Sphinx-${SPHINX_VERSION}_SRC ; check_job ${PRODUCT_DIR}/MA
 
 cd ${PRODUCT_DIR}/bin; 
 
-sed -e "s%#\!.*python%#\!/usr/bin/env python%" easy_install  > _easy_install
-mv -f _easy_install easy_install
-chmod a+x easy_install
-
-sed -e "s%#\!.*python%#\!/usr/bin/env python%" easy_install-${PYTHON_VERSION}  > _easy_install-${PYTHON_VERSION}
-mv -f _easy_install-${PYTHON_VERSION} easy_install-${PYTHON_VERSION}
-chmod a+x easy_install-${PYTHON_VERSION}
-
-sed -e "s%#\!.*python%#\!/usr/bin/env python%" pygmentize  > _pygmentize
-mv -f _pygmentize pygmentize
-chmod a+x pygmentize
-
-sed -e "s%#\!.*python%#\!/usr/bin/env python%" sphinx-build  > _sphinx-build
-mv -f _sphinx-build sphinx-build
-chmod a+x sphinx-build
-
-sed -e "s%#\!.*python%#\!/usr/bin/env python%" sphinx-quickstart  > _sphinx-quickstart
-mv -f _sphinx-quickstart sphinx-quickstart
-chmod a+x sphinx-quickstart
-
-sed -e "s%#\!.*python%#\!/usr/bin/env python%" sphinx-autogen > _sphinx-autogen
-mv -f _sphinx-autogen sphinx-autogen
-chmod a+x sphinx-autogen
+scripts=`find . -type f`
+for f in X $scripts ; do
+    if test "${f}" == "X" ; then continue ; fi
+    sed -i "s%#\!.*python%#\!/usr/bin/env python%" ${f}
+done
 
 cd ${PRODUCT_DIR}