diff options
author | Franklin Wei <franklin@rockbox.org> | 2020-06-25 14:37:55 -0400 |
---|---|---|
committer | Franklin Wei <franklin@rockbox.org> | 2020-06-25 18:45:26 +0000 |
commit | dd3a8e08988308cf88c10a44176d83a8a152ec4a (patch) | |
tree | 9ea94c9f1efed8e87cec7c72acdb06426bae754c /apps/plugins | |
parent | 3074ade465a3fa22bfc112747d3ab9eedad1fb6f (diff) |
puzzles: remove dependency on gamedesc.txt
This should allow syncing with fully clean upstream source trees.
Change-Id: Ie476a4d2ef72a411150cacc2bd45265170670e1d
Diffstat (limited to 'apps/plugins')
-rwxr-xr-x | apps/plugins/puzzles/genhelp.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/puzzles/genhelp.sh b/apps/plugins/puzzles/genhelp.sh index d6c4cc3e94..9aa304c0c1 100755 --- a/apps/plugins/puzzles/genhelp.sh +++ b/apps/plugins/puzzles/genhelp.sh @@ -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 |