From d732da4b94fc2fc2eaa968d571cf76faa9118d9f Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Sep 14 2012 19:57:21 +0000 Subject: Update `Functions/Render/Docbook/docbook_convertToXhtml.sh' file. --- diff --git a/Scripts/Bash/Functions/Render/Docbook/docbook_convertToXhtml.sh b/Scripts/Bash/Functions/Render/Docbook/docbook_convertToXhtml.sh index 464c672..c2c2574 100755 --- a/Scripts/Bash/Functions/Render/Docbook/docbook_convertToXhtml.sh +++ b/Scripts/Bash/Functions/Render/Docbook/docbook_convertToXhtml.sh @@ -56,6 +56,13 @@ function docbook_convertToXhtml { # Transform DocBook XML to XHTML supressing all stderr output. xsltproc --output ${DST} ${STYLE_INSTANCE_FINAL} ${SRC} &> /dev/null + # Create `css' and `images' directories. In order to save disk + # space, these directories are linked (symbolically) to their + # respective locations inside the working copy. Be sure to remove + # previous links first to prevent a recursive creation of links. + ln -sf ${TCAR_WORKDIR}/trunk/Identity/Webenv/Themes/Default/Docbook/1.69.1/Css $(dirname $DST)/Css + ln -sf ${TCAR_WORKDIR}/trunk/Identity/Images/Webenv $(dirname $DST)/Images + # Remove XSL instance files. rm ${STYLE_INSTANCE[*]}