Skip to content
Snippets Groups Projects
Commit 0f57f4ec authored by Mark Olesen's avatar Mark Olesen
Browse files

STYLE: move bin/doxyFilt -> bin/tools/doxyFilter

- normally only for doxygen generation, not needed in the path
parent c39a9365
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. # along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
# #
# Script # Script
# doxyFilt # doxyFilter
# #
# Description # Description
# pass-through filter for doxygen # pass-through filter for doxygen
...@@ -43,19 +43,19 @@ then ...@@ -43,19 +43,19 @@ then
dirName=${filePath%/[^/]*} dirName=${filePath%/[^/]*}
fileName=${filePath##*/} fileName=${filePath##*/}
awkScript=$WM_PROJECT_DIR/bin/tools/doxyFilt.awk awkScript=$WM_PROJECT_DIR/bin/tools/doxyFilter.awk
case "$1" in case "$1" in
*/applications/solvers/*.C | */applications/utilities/*.C ) */applications/solvers/*.C | */applications/utilities/*.C )
awkScript=$WM_PROJECT_DIR/bin/tools/doxyFilt-top.awk awkScript=$WM_PROJECT_DIR/bin/tools/doxyFilter-top.awk
;; ;;
# */applications/solvers/*.H | */applications/utilities/*.H ) # */applications/solvers/*.H | */applications/utilities/*.H )
# awkScript=$WM_PROJECT_DIR/bin/tools/doxyFilt-ignore.awk # awkScript=$WM_PROJECT_DIR/bin/tools/doxyFilter-ignore.awk
# ;; # ;;
esac esac
awk -f $awkScript $1 | \ awk -f $awkScript $1 | \
sed -f $WM_PROJECT_DIR/bin/tools/doxyFilt.sed \ sed -f $WM_PROJECT_DIR/bin/tools/doxyFilter.sed \
-e s@%filePath%@$filePath@g \ -e s@%filePath%@$filePath@g \
-e s@%fileName%@$fileName@g \ -e s@%fileName%@$fileName@g \
-e s@%dirName%@$dirName@g -e s@%dirName%@$dirName@g
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. # along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
# #
# Script # Script
# doxyFilt-ignore.awk # doxyFilter-ignore.awk
# #
# Description # Description
# - Prefix file contents with doxygen @file tag and %filePath% tag # - Prefix file contents with doxygen @file tag and %filePath% tag
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. # along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
# #
# Script # Script
# doxyFilt-top.awk # doxyFilter-top.awk
# #
# Description # Description
# Only output the first /* ... */ comment section found in the file # Only output the first /* ... */ comment section found in the file
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. # along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
# #
# Script # Script
# doxyFilt.awk # doxyFilter.awk
# #
# Description # Description
# Converts cocoon style sentinel strings into doxygen style strings # Converts cocoon style sentinel strings into doxygen style strings
......
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Script # Script
# doxyFilt.sed # doxyFilter.sed
# #
# Description # Description
# Transform human-readable tags such as 'Description' into the Doxygen # Transform human-readable tags such as 'Description' into the Doxygen
......
...@@ -567,7 +567,7 @@ IMAGE_PATH = ...@@ -567,7 +567,7 @@ IMAGE_PATH =
# to standard output. If FILTER_PATTERNS is specified, this tag will be # to standard output. If FILTER_PATTERNS is specified, this tag will be
# ignored. # ignored.
INPUT_FILTER = doxyFilt INPUT_FILTER = $(WM_PROJECT_DIR)/bin/tools/doxyFilter
# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern # The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
# basis. Doxygen will compare the file name with each pattern and apply the # basis. Doxygen will compare the file name with each pattern and apply the
......
...@@ -669,7 +669,7 @@ IMAGE_PATH = ...@@ -669,7 +669,7 @@ IMAGE_PATH =
# If FILTER_PATTERNS is specified, this tag will be # If FILTER_PATTERNS is specified, this tag will be
# ignored. # ignored.
INPUT_FILTER = doxyFilt INPUT_FILTER = $(WM_PROJECT_DIR)/bin/tools/doxyFilter
# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern # The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
# basis. # basis.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment