blob: 406b35cfc7745df0c521f56a64f4957983d30543 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/sh
# runs kdcopidl for current dir
# or for $1 dir, (and $2, $3, $4, $5), whatever is provided
if [ -n "$1" ] ; then
dir="$1"
else
dir="."
fi
tqfind $dir -maxdepth 1 -name \*.h | while read ; do
grep K_DCOP $REPLY > /dev/null || continue
name=`echo $REPLY | sed -e "s/\\.h//"`
if [ $name".kidl" -ot $REPLY -o ! -f $name".kidl" -o ! -f $name"_skel.cpp" -o ! -f $name"_stub.cpp" ] ; then
echo DCOPIDL for $REPLY...
dcopidl $REPLY > $name".kidl"
dcopidl2cpp $name".kidl"
fi
done
[ -n "$2" ] && kdcopidl $2
[ -n "$3" ] && kdcopidl $3
[ -n "$4" ] && kdcopidl $4
[ -n "$5" ] && kdcopidl $5
|