]> Creatis software - clitk.git/blob - make_meta.sh
move parsing utilities to clitkCommon as we are using them more and more
[clitk.git] / make_meta.sh
1 #!/bin/bash
2 #This script creates the files necessary for developement: vim tags files, doxygen documentation, ...
3 ROOT_DIR=$(pwd)
4 echo $ROOT_DIR
5 #ROOT_DIR=${HOME}/workspace/vv
6 cd ${ROOT_DIR}
7 [ "$1" = "--full" ] && doxygen clitk.doxygen&
8
9 for i in $(find $(pwd) -type d | grep -v "^\.$")
10 do
11     cd $i && [ -n "$(find . -maxdepth 1 -name '*.c??')" ] &&
12     {
13         rm .vimrc
14         ln -s ${ROOT_DIR}/.vimrc .
15         ctags -R --languages=c,c++ --exclude=build --langmap=c++:.c++.cc.cp.cpp.cxx.h.h++.hh.hp.hpp.hxx.C.H.txx --exclude=doc --exclude=tests_jef ${ROOT_DIR} &
16     }
17 done
18 wait
19 echo "done!"