mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: support wmakeLnInclude of C++ template files (.tcc, .tpp, .txx)
- can be used to avoid confusion with source files ENH: improve handling of '--' option termination (wmake scripts)
This commit is contained in:
@ -12,19 +12,19 @@
|
||||
# This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
|
||||
#
|
||||
# Script
|
||||
# makeTargetDir
|
||||
# wmake/scripts/makeTargetDir
|
||||
#
|
||||
# Description
|
||||
# Makes a directory hierarchy for the given target file
|
||||
# Makes a directory hierarchy for the given target file(s)
|
||||
#
|
||||
# Usage: makeTargetDir <file>
|
||||
# Usage: makeTargetDir file1 [..fileN]
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
for target
|
||||
do
|
||||
dir=${target%/*}
|
||||
[ -d "$dir" ] || [ "$dir" = "$target" ] || mkdir -p "$dir"
|
||||
dir="${target%/*}"
|
||||
[ "$dir" = "$target" ] || [ -d "$dir" ] || mkdir -p "$dir"
|
||||
done
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user