optionally include outpaths
Only when given --with-outpath the IDs include projects/$INPATH/inc (also solver/$INPATH/inc)
This commit is contained in:
@@ -4,5 +4,10 @@
|
||||
|
||||
. ./Env.Host.sh
|
||||
|
||||
dirs="*/$INPATH/inc */$INPATH/misc/build `ls -d */* | sed -e '/\(\/\(common\|unxlng\|unxsol\|unxmac\|wntmsc\|Jamfile\|cscope\.\|tags\|ID\)\)\|^\(solver\|clone\)\//d'`"
|
||||
# --with-outpath includes projects/$INPATH/inc (also solver/$INPATH/inc)
|
||||
if [ "$1" = "--with-outpath" ]; then
|
||||
dirs="`ls -d */* | sed -e '/\(\/\(common\|unxlng\|unxsol\|unxmac\|wntmsc\|Jamfile\|cscope\.\|tags\|ID\)\)\|^\(clone\|solver\|workdir\|install\)\//d'` `ls -d */$INPATH/inc */$INPATH/misc/build | sed -e '/^workdir\//d'`"
|
||||
else
|
||||
dirs="`ls -d */* | sed -e '/\(\/\(common\|unxlng\|unxsol\|unxmac\|wntmsc\|Jamfile\|cscope\.\|tags\|ID\)\)\|^\(clone\|solver\|workdir\|install\)\//d'` `ls -d */$INPATH/misc/build | sed -e '/^\(solver\|workdir\)\//d'`"
|
||||
fi
|
||||
mkid --lang-map=`dirname $0`/id-lang.map --include='C C++ asm perl java make' --statistics $dirs
|
||||
|
Reference in New Issue
Block a user