0025833: Visualization, ray tracing - Problems with the backside of triangles
[occt.git] / gendoc
... / ...
CommitLineData
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}/adm/start.tcl" $anArgs
16
17export PATH="$anOldPath"
18export LD_LIBRARY_PATH="$anOldLd"
19export DYLD_LIBRARY_PATH="$anOldDyLd"