Commit Graph

15 Commits

Author SHA1 Message Date
9e2e111518 STYLE: adjust ordering of 'find' command arguments
- use -name test before -type test to avoid calling stat(2) on every file.
- use -delete instead of -exec rm to avoid forking
2017-02-21 19:19:04 +01:00
3d02c8a530 ENH: improve isolation of shell variables in wmake scripts
- reduces unexpected interactions between various make elements
2017-02-10 16:13:54 +01:00
46ecad8f7a STYLE: make wmake scripts look more POSIX-like
- also add some comments about the side-effects
2017-02-10 11:38:12 +01:00
10ad855d8d wmake: Improve messages from wclean, wrmdep and wmakeLnIncludeAll 2016-07-08 10:57:08 +01:00
af57fd2a3b wrmdep: Now prints the full path of the .dep files removed 2016-05-21 17:19:07 +01:00
ef86cd63d1 Update "wrmdep -update" to remove dead symbolic links
Patch provided by Bruno Santos
Resolved bug-report http://www.openfoam.org/mantisbt/view.php?id=2016
2016-03-06 19:13:45 +00:00
5355dbc5fe wmake: General cleanup to improve consistency and maintainability
The Makefiles are now in the makefiles sub-directory

The "-f | -force" option in wmakeLnInclude is now "-u | -update" for
consistency with the other scripts.

The "Usage" entry in the headers is now consistently formatted in all
scripts.
2015-12-16 18:31:02 +00:00
13094c2ab3 wcleanAll, wrmdep: Updated check for the WM_PROJECT_DIR 2015-12-14 17:49:02 +00:00
fe1dc82e5a wrmdep: Update documentation 2015-12-13 21:23:04 +00:00
f56a738f14 wrmdep: Added "update" option
Searches all the "src" and "application" directories of the project for
broken symbolic links for source code files and then remove all .dep
files that relate to the files that no longer exist.  Must be executed
in main project source code folder: $WM_PROJECT_DIR

Patch provided by Bruno Santos

Resolves feature-request http://www.openfoam.org/mantisbt/view.php?id=1941
2015-12-13 20:57:25 +00:00
6b819790b4 wdep: If source file is not in the current directory search tree for first occurrence 2015-01-11 17:16:15 +00:00
386b4e2253 Updated doc 2015-01-10 23:22:39 +00:00
9aff064bec wrmdep: Add -a/-all/all option to removed for all platforms rather than just the current platform. 2015-01-10 23:18:34 +00:00
623ac104f7 Replaced rmoall with wrmo
Description
    Remove all .o files from the object directory tree corresponding to the
    current source derectory or remove only the .o file corresponding to the
    optionally specified [file].
2015-01-10 22:33:39 +00:00
e437b9eb92 wrmdep: Replacement for rmdepall
Remove all .dep files from the object directory tree corresponding to the
current source derectory or remove only the .dep files referring to the
optionally specified [file].
2015-01-08 10:36:37 +00:00