Mercurial > hg > toybox
comparison scripts/make.sh @ 892:f2a8f8981c83
generated/help.h depends on CONFIG_TOYBOX_HELP
author | Felix Janda <felix.janda@posteo.de> |
---|---|
date | Tue, 30 Apr 2013 21:11:43 +0200 |
parents | c7e7b159568d |
children | 39ac9e0ad6ad |
comparison
equal
deleted
inserted
replaced
891:5735c500f835 | 892:f2a8f8981c83 |
---|---|
118 echo "} this;" | 118 echo "} this;" |
119 ) > generated/globals.h | 119 ) > generated/globals.h |
120 | 120 |
121 echo "generated/help.h" | 121 echo "generated/help.h" |
122 # Only recreate generated/help.h if python is installed | 122 # Only recreate generated/help.h if python is installed |
123 if [ ! -z "$(which python)" ] && [ ! -z "$(grep 'CONFIG_HELP=y' .config)" ] | 123 if [ ! -z "$(which python)" ] && [ ! -z "$(grep 'CONFIG_TOYBOX_HELP=y' .config)" ] |
124 then | 124 then |
125 echo "Extract help text from Config.in." | 125 echo "Extract help text from Config.in." |
126 scripts/config2help.py Config.in > generated/help.h || exit 1 | 126 scripts/config2help.py Config.in > generated/help.h || exit 1 |
127 fi | 127 fi |
128 | 128 |