Debian Codegraph @

tools/MocList

raw
1 # -*- mode: shell-script; sh-shell: bash; sh-indentation: 2 -*-
2 if [ "$1" = "cc" ]; then
3 grep "Q_OBJECT" *.h | LC_ALL=C sort | cut -d: -f1 | sed -e 's/^//g;s/\.h/\.moc.cc/g'| xargs echo;
4 elif [ "$1" = "o" ]; then
5 grep "Q_OBJECT" *.h | LC_ALL=C sort | cut -d: -f1 | sed -e 's/^//g;s/\.h/\.moc.o/g'| xargs echo;
6 elif [ "$1" = "h" ]; then
7 grep "Q_OBJECT" *.h | LC_ALL=C sort | cut -d: -f1 | cut -d'/' -f3 | xargs echo;
8 fi
9