From 8abdc363989add5ff05a9e0063b60af94aaecb7a Mon Sep 17 00:00:00 2001
From: Henry Weller <http://cfd.direct>
Date: Mon, 4 Jul 2016 22:28:19 +0100
Subject: [PATCH] Allwmake: Simplified by removing 'doc' option

It is better to run doc/Allwmake or doc/Doxygen/Allwmake and provide the
required options.
---
 Allwmake | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/Allwmake b/Allwmake
index 8eac144fe82..67c26d0a3d5 100755
--- a/Allwmake
+++ b/Allwmake
@@ -1,8 +1,7 @@
 #!/bin/sh
 cd ${0%/*} || exit 1    # Run from this directory
 
-# Parse arguments for library compilation without documentation by default
-genDoc=0
+# Parse arguments for library compilation
 . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
 
 wmakeCheckPwd "$WM_PROJECT_DIR" || {
@@ -35,11 +34,5 @@ src/Allwmake $targetType $*
 # Compile OpenFOAM libraries and applications
 applications/Allwmake $targetType $*
 
-# Optionally build OpenFOAM Doxygen documentation
-if [ $genDoc -eq 1 ]
-then
-    doc/Allwmake
-fi
-
 
 #------------------------------------------------------------------------------
-- 
GitLab