wine/programs/winetest/maketest
Ferenc Wagner 24624f6b5d - Resource script restructuring.
- Build info et al. is given by files instead of env. vars.
- Store that information in resources.
- Make the main windows not resizeable.
- Insist on creating a fresh log file.
- Introduce the make dist target.
2004-06-15 22:45:15 +00:00

34 lines
501 B
Bash
Executable file

#!/bin/sh
TOPSRCDIR="$1"
shift
echo "/* Automatically generated -- do not edit! */"
echo "#include \"resource.h\""
echo "STRINGTABLE {"
i=0
for test
do
echo "$i \"$test\""
i=`expr $i + 1`
done
i=0
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 "REV_INFO+$i \"$REPLY\""
i=`expr $i + 1`
done
echo "}"
i=0
for test
do
echo "$i TESTRES \"$test\""
i=`expr $i + 1`
done