Bump for 3.6-28
[LibreOffice.git] / solenv / bin / create-ids
blobe4d31474cd0fa0ab4090aca80bf11faed45c2af0
1 #!/bin/sh
3 # create ID file for the whole LibO tree. run it in toplevel dir
5 if [ -z "$INPATH" ] ; then
6 INPATH=$(grep "INPATH=" ./config_host.mk | sed -e "s/INPATH=//")
7 fi
8 if [ -z "$INPATH" ] ; then
9 echo "could not determine INPATH" >&2
10 exit 1
13 # --with-outpath includes projects/$INPATH/inc (also solver/$INPATH/inc)
14 if [ "$1" = "--with-outpath" ]; then
15 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'`"
16 else
17 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'`"
19 mkid --lang-map=`dirname $0`/id-lang.map --include='C C++ asm perl java make' --statistics $dirs