From f2b9c9a80d3e8fc37dee636d1fa4e1a1dae3bc35 Mon Sep 17 00:00:00 2001 From: maintenance team Date: Tue, 17 Feb 2009 08:34:37 +0000 Subject: [PATCH] Replacing docutils 0.3.9 by 0.4.0 --- .../{docutils-0.3.9.sh => docutils-0.4.0.sh} | 24 +++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) rename config_files/{docutils-0.3.9.sh => docutils-0.4.0.sh} (83%) diff --git a/config_files/docutils-0.3.9.sh b/config_files/docutils-0.4.0.sh similarity index 83% rename from config_files/docutils-0.3.9.sh rename to config_files/docutils-0.4.0.sh index 83ffb95..2fc1d6f 100755 --- a/config_files/docutils-0.3.9.sh +++ b/config_files/docutils-0.4.0.sh @@ -1,7 +1,7 @@ #!/bin/bash -noprofile #################################################################################### -# File : docutils-0.3.9.sh +# File : docutils-0.4.0.sh # Created : Thu Dec 18 12:01:00 2002 # Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com) # Project : SALOME @@ -78,6 +78,26 @@ mv -f _rst2html.py rst2html.py chmod a+x rst2html.py ln -sf rst2html.py rst2html +sed -e "s%#\!.*python%#\!/usr/bin/env python%" rst2newlatex.py > _rst2newlatex.py +mv -f _rst2newlatex.py rst2newlatex.py +chmod a+x rst2newlatex.py +ln -sf rst2newlatex.py rst2newlatex + +sed -e "s%#\!.*python%#\!/usr/bin/env python%" rst2pseudoxml.py > _rst2pseudoxml.py +mv -f _rst2pseudoxml.py rst2pseudoxml.py +chmod a+x rst2pseudoxml.py +ln -sf rst2pseudoxml.py rst2pseudoxml + +sed -e "s%#\!.*python%#\!/usr/bin/env python%" rst2s5.py > _rst2s5.py +mv -f _rst2s5.py rst2s5.py +chmod a+x rst2s5.py +ln -sf rst2s5.py rst2s5 + +sed -e "s%#\!.*python%#\!/usr/bin/env python%" rst2xml.py > _rst2xml.py +mv -f _rst2xml.py rst2xml.py +chmod a+x rst2xml.py +ln -sf rst2xml.py rst2xml + # remove sources and temporary files after building if [ ${REMOVE_SRC_TMP} == "TRUE" ] ; then test -d ${PRODUCT_SRC_DIR} && rm -fr ${PRODUCT_SRC_DIR} @@ -122,7 +142,7 @@ export INSTALL_PRODUCTS=$7; shift REMOVE_SRC_TMP=$8; test $# == 10 && shift && SINGLE_DIR=$9 -export PRODUCT="docutils-0.3.9" +export PRODUCT="docutils-0.4.0" export PRODUCT_DIR=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} export PRODUCT_SRC_DIR=${INST_ROOT}/${PRODUCT}_SRC -- 2.39.2