]> Creatis software - clitk.git/blob - make_meta.sh
Fix for UpdateLinkedNavigation with transforms. This also simplifies the
[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 find "$(pwd)" -type d | grep -v "^\.$" | while read i
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!"