summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2011-11-17 12:45:13 +0100
committerEike Rathke <erack@redhat.com>2011-11-19 16:15:19 +0100
commitafe9ca99ebbf8b18d3a3208c56df1e39d4d41661 (patch)
tree4d4bdb97e45a1aa91e0c880954e82f1edb2261af /solenv
parent33f591aa6dfcfe5dca82c3f467027aa35eefb9a2 (diff)
optionally include outpaths
Only when given --with-outpath the IDs include projects/$INPATH/inc (also solver/$INPATH/inc)
Diffstat (limited to 'solenv')
-rwxr-xr-xsolenv/bin/create-ids7
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