[Toybox] [PATCH] python2 probing

Georgi Chorbadzhiyski gf at unixsol.org
Mon Sep 9 22:43:39 PDT 2013


On 09.9.2013 г. 20:17, Rob Landley wrote:
> On 09/05/2013 07:37:02 AM, Georgi Chorbadzhiyski wrote:
>> Around 09/05/2013 02:50 PM, Rob Landley scribbled:
>> > On 08/30/2013 05:08:28 PM, Elie De Brauwer wrote:
>> >> Hello Rob, list,
>> >>
>> >> I just found the README.txt in the generated folder, obviously my
>> >> patch won't play nice if you plan to ship generated help.h's.
>> >
>> > Actual the plan is to rewrite the help generator in C and get rid of
>> > build-time python dependency entirely. :)
>>
>> Is it time to resurrect my rewrite of the shell/sed/awk/python/blah thingy
>> to single nice C program that does it all? ;)
>
> The problem with that one is it did too much. If I recall it replaced the whole of make.sh with a C file, which was less maintainable than I liked.
>
> I should dig it up and take another look, though. (There are many things that's true of, but the constant stream of new "pending" submissions is squashing everything else unless I just decide to ignore them for a while.)

There are a lot of things done by the scripts, that's why it looked
like it did too much [1]. It bit rotted a lot since there a lot of things
that were added to the build system since I posted it, so don't waste your
time on it. When I get the time I might resurrect it to see if it
can be beaten into something useful.

https://github.com/gfto/toybox/commit/0a68d9cbdb77426d3383af92542e4ea0c62a102d

  Makefile               |   7 +-
  scripts/config2help.py |  54 -------
  scripts/config2help.sh |  54 -------
  scripts/genconf.c      | 408 +++++++++++++++++++++++++++++++++++++++++++++++++
  scripts/genconfig.sh   |  10 +-
  scripts/make.sh        |  88 +----------
  6 files changed, 423 insertions(+), 198 deletions(-)
gf at gf:~/git/toybox$ wc genconf.c
  408 1201 9477 genconf.c

-- 
Georgi Chorbadzhiyski
http://github.com/gfto/
http://georgi.unixsol.org/

 1378791819.0


More information about the Toybox mailing list