0031573: Visualization - Do not show seam edge for shading presentation with boundary...
[occt.git] / gendoc
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
72c37458 15tclsh "${aScriptPath}/adm/start.tcl" gendoc $anArgs
e5bd0d98 16
17export PATH="$anOldPath"
18export LD_LIBRARY_PATH="$anOldLd"
19export DYLD_LIBRARY_PATH="$anOldDyLd"