Commit 37895095 authored by Mark Olesen's avatar Mark Olesen
Browse files

ENH: also support --prefix for AllwmakeParseArguments

- corresponds to general conventions/expectations
parent c3f2a01f
...@@ -61,11 +61,11 @@ Executing ${0##*/} is equivalent to ...@@ -61,11 +61,11 @@ Executing ${0##*/} is equivalent to
wmake -all [OPTIONS] wmake -all [OPTIONS]
With additional options: With additional options:
-l | -log Tee output to log.\$WM_OPTIONS -l | -log Tee output to log.\$WM_OPTIONS
-log=NAME Tee output to given filename -log=NAME Tee output to given filename
-prefix=... Identical to wmake -module-prefix -prefix=... Define FOAM_MODULE_PREFIX (same as wmake -module-prefix)
-no-recursion Prevent recursive call (do NOT call 'wmake -all') -no-recursion Prevent recursive call (do NOT call 'wmake -all')
-fromWmake Same as -no-recursion -fromWmake Same as -no-recursion
See See
wmake -help (or wmake -help-full) wmake -help (or wmake -help-full)
...@@ -97,7 +97,7 @@ do ...@@ -97,7 +97,7 @@ do
# Pass onwards to other Allwmake scripts # Pass onwards to other Allwmake scripts
;; ;;
-prefix=* | -module-prefix=*) -module-prefix=* | -prefix=* | --prefix=*)
optPrefix="${arg#*=}" optPrefix="${arg#*=}"
case "$optPrefix" in case "$optPrefix" in
# Prefix: user # Prefix: user
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment