2003-12-04 02:01:39 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
if [ -z "$WINE_BUILD" ]; then
|
2004-02-19 04:12:42 +00:00
|
|
|
WINE_BUILD="`date +%Y%m%d.%H%M-auto`"
|
2003-12-04 02:01:39 +00:00
|
|
|
echo "warning: using automatically generated BUILD tag: $WINE_BUILD" 1>&2
|
|
|
|
fi
|
|
|
|
|
2004-03-24 23:40:06 +00:00
|
|
|
TOPSRCDIR="$1"
|
|
|
|
shift
|
|
|
|
|
2003-12-04 02:01:39 +00:00
|
|
|
echo "/* Automatically generated -- do not edit! */"
|
|
|
|
echo "STRINGTABLE {"
|
|
|
|
echo "0 \"$WINE_BUILD\""
|
|
|
|
|
|
|
|
i=0
|
|
|
|
for test
|
|
|
|
do
|
2003-12-30 19:09:25 +00:00
|
|
|
i=`expr $i + 1`
|
2003-12-04 02:01:39 +00:00
|
|
|
echo "$i \"$test\""
|
|
|
|
done
|
2004-03-20 19:21:39 +00:00
|
|
|
|
2004-03-24 23:40:06 +00:00
|
|
|
i=30000
|
|
|
|
cd $TOPSRCDIR
|
|
|
|
for dir in dlls/*/tests; do
|
|
|
|
sed -ne "s|^/\([^.]*.c\)/\([^/]*\).*|$dir/\1:\2|p" $dir/CVS/Entries 2>/dev/null
|
|
|
|
done |\
|
|
|
|
while read; do
|
|
|
|
echo "$i \"$REPLY\""
|
|
|
|
i=`expr $i + 1`
|
|
|
|
done
|
2004-03-20 19:21:39 +00:00
|
|
|
|
2003-12-04 02:01:39 +00:00
|
|
|
echo "}"
|
|
|
|
|
|
|
|
i=0
|
|
|
|
for test
|
|
|
|
do
|
2003-12-30 19:09:25 +00:00
|
|
|
i=`expr $i + 1`
|
2003-12-04 02:01:39 +00:00
|
|
|
echo "$i USERDATA \"$test\""
|
|
|
|
done
|