alex1818 / serf

Automatically exported from code.google.com/p/serf
Apache License 2.0
0 stars 0 forks source link

replace gen_def.py with gen_export.awk #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The reason why I would like to have the Python script replaced by an AWK script 
are these:
- neither Windows nor NetWare APR/APU/httpd builds depend currenly on Python, 
but at least httpd builds depend on AWK
- lowers depency for a build helper from ~45 MB programming language to a ~100 
kB single executable

The attached script produces a 100% identical result for a Windows serf.def 
output + adds another similar output format serf.imp for NetWare. The script is 
written to be compatible with true awk since GNU awk usually also adds more 
dependencies like NLS, iconv, etc.
You can obtain the latest version of Kernighan's true awk here:
http://www.cs.princeton.edu/~bwk/btl.mirror/
I have a Win32 binary on my site (and latest source too):
http://www.gknw.net/mirror/awk/

please consider this change!

Thanks, Gün.

Original issue reported on code.google.com by 0x1...@googlemail.com on 24 Mar 2011 at 11:45

Attachments:

GoogleCodeExporter commented 9 years ago
serf.def is provided in the distribution tarball, so Windows users should not 
need to create it. The only people who need Python to create serf.def are 
developers working directly from source control. And we expect those people to 
have Python.

Original comment by gstein on 25 Jun 2011 at 10:05