0024459: Exception during clearing object in test case v3d/raytrace/connected in...
[occt.git] / gendoc.sh
CommitLineData
e5bd0d98 1#!/bin/bash
2
3# Helper script to run generation of OCCT documentation on Linux.
4# Running it requires that Tcl, Doxygen, and MikTex (for PDF generation) should be in the PATH
5
6anArgs=$*
7anOldPath="$PATH"
8anOldLd="$LD_LIBRARY_PATH"
9anOldDyLd="$DYLD_LIBRARY_PATH"
10
11# go to the script directory
12aScriptPath=${BASH_SOURCE%/*}; if [ -d "${aScriptPath}" ]; then cd "$aScriptPath"; fi; aScriptPath="$PWD";
13if [ -e "${aScriptPath}/env.sh" ]; then source "${aScriptPath}/env.sh"; fi
14
15tclsh "${aScriptPath}/dox/start.tcl" $anArgs
16
17export PATH="$anOldPath"
18export LD_LIBRARY_PATH="$anOldLd"
19export DYLD_LIBRARY_PATH="$anOldDyLd"