diff options
Diffstat (limited to 'solenv/bin/create-ids')
-rwxr-xr-x | solenv/bin/create-ids | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/solenv/bin/create-ids b/solenv/bin/create-ids index c0f24960c983..5b43d20168b8 100755 --- a/solenv/bin/create-ids +++ b/solenv/bin/create-ids @@ -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 |