mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
Allwmake: Simplified by removing 'doc' option
It is better to run doc/Allwmake or doc/Doxygen/Allwmake and provide the required options.
This commit is contained in:
9
Allwmake
9
Allwmake
@ -1,8 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Parse arguments for library compilation without documentation by default
|
# Parse arguments for library compilation
|
||||||
genDoc=0
|
|
||||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||||
|
|
||||||
wmakeCheckPwd "$WM_PROJECT_DIR" || {
|
wmakeCheckPwd "$WM_PROJECT_DIR" || {
|
||||||
@ -35,11 +34,5 @@ src/Allwmake $targetType $*
|
|||||||
# Compile OpenFOAM libraries and applications
|
# Compile OpenFOAM libraries and applications
|
||||||
applications/Allwmake $targetType $*
|
applications/Allwmake $targetType $*
|
||||||
|
|
||||||
# Optionally build OpenFOAM Doxygen documentation
|
|
||||||
if [ $genDoc -eq 1 ]
|
|
||||||
then
|
|
||||||
doc/Allwmake
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user