AllwmakeParseArguments: Added "-update" option
Updates lnInclude directories and dep files before compilation. This is useful to apply following a "git pull" to ensure consistency between the source files, dep files and links.
This commit is contained in:
@ -55,6 +55,7 @@ options:
|
|||||||
-j Compile using all local cores/hyperthreads
|
-j Compile using all local cores/hyperthreads
|
||||||
-jN or -j N Compile using N cores/hyperthreads
|
-jN or -j N Compile using N cores/hyperthreads
|
||||||
-no-scheduler Compile without wmakeScheduler
|
-no-scheduler Compile without wmakeScheduler
|
||||||
|
-update Update lnInclude directories and dep files
|
||||||
USAGE
|
USAGE
|
||||||
|
|
||||||
# Print options for building code documentation
|
# Print options for building code documentation
|
||||||
@ -122,6 +123,11 @@ do
|
|||||||
-no-scheduler)
|
-no-scheduler)
|
||||||
unset WM_SCHEDULER
|
unset WM_SCHEDULER
|
||||||
;;
|
;;
|
||||||
|
# Update lnInclude directories and dep files following a pull
|
||||||
|
-update)
|
||||||
|
wrmdep -update
|
||||||
|
wmakeLnIncludeAll
|
||||||
|
;;
|
||||||
# Generate documentation
|
# Generate documentation
|
||||||
doc)
|
doc)
|
||||||
test -n "$genDoc" || usage "invalid option '$1'"
|
test -n "$genDoc" || usage "invalid option '$1'"
|
||||||
|
|||||||
Reference in New Issue
Block a user