diff --git a/Allwmake b/Allwmake
index 8eac144fe8237d82b64ee75ec7a3a9898db8ae56..67c26d0a3d5d0648233760bae48df245f629e294 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
-
 
 #------------------------------------------------------------------------------