Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
wp3-refactoring
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
exaFOAM
wp3-refactoring
Commits
fe1dc82e
Commit
fe1dc82e
authored
9 years ago
by
Henry Weller
Browse files
Options
Downloads
Patches
Plain Diff
wrmdep: Update documentation
parent
f56a738f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wmake/wrmdep
+8
-7
8 additions, 7 deletions
wmake/wrmdep
with
8 additions
and
7 deletions
wmake/wrmdep
+
8
−
7
View file @
fe1dc82e
...
...
@@ -39,13 +39,14 @@
#
# [-o | -old] [dir1 .. dirN]:
# Remove *.dep files that are without a corresponding .C or .L source file.
# This
often
occurs when a directory has been moved.
# - print questionable directory and
the
*.dep file
# This occurs when a directory has been moved.
# - print
s the
questionable directory and *.dep file
#
# -update:
# Search 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 files that no longer exist.
# Must be executed in the project top-level directory: $WM_PROJECT_DIR.
#
#------------------------------------------------------------------------------
Script
=
${
0
##*/
}
...
...
@@ -68,17 +69,17 @@ Usage:
$Script
[-o | -old] [dir1 .. dirN]
Remove *.dep files that are without a corresponding .C or .L file.
This
often
occurs when a directory has been moved.
- print questionable directory and file
This occurs when a directory has been moved.
- print
s the
questionable directory and
*.dep
file
Note:
For
remov
ing
empty
source code folder
s, run: wclean
rmdir
Note:
to
remov
e
empty
directorie
s, run: wclean
empty
$Script
-update
Search 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 files that no longer exist.
Must be executed in
main
project
source code folder
:
$WM_PROJECT_DIR
Must be executed in
the
project
top-level directory
:
$WM_PROJECT_DIR
USAGE
exit
1
...
...
@@ -189,7 +190,7 @@ oldFolders)
updateMode
)
[
-d
bin
-a
-d
src
]
||
usage
"
n
ot in the project top
level directory"
[
-d
bin
-a
-d
src
]
||
usage
"
N
ot in the project top
-
level directory"
echo
"Purging all dep files that relate to files that no longer exist..."
fileNameList
=
$(
find
-L
src applications
-name
'*.[CHL]'
-type
l
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment