puzzles: remove dependency on gamedesc.txt
This should allow syncing with fully clean upstream source trees. Change-Id: Ie476a4d2ef72a411150cacc2bd45265170670e1d
This commit is contained in:
parent
3074ade465
commit
dd3a8e0898
1 changed files with 2 additions and 2 deletions
|
@ -87,8 +87,8 @@ do
|
|||
mv $f.tmp $f
|
||||
done
|
||||
|
||||
# generate quick help from gamedesc.txt
|
||||
cat src/gamedesc.txt | awk -F ":" '{print "const char quick_help_text[] = \""$5"\";" >> "help/"$1".c" }'
|
||||
# generate quick help from all the .R files
|
||||
cat src/*.R | awk 'print_next { print_next = 0; print; } /!begin/ && />/ && /gamedesc.txt/ { print_next = 1; }' | awk -F ":" '{print "const char quick_help_text[] = \""$5"\";" >> "help/"$1".c" }'
|
||||
|
||||
rm puzzles.txt
|
||||
rm compress
|
||||
|
|
Loading…
Reference in a new issue