This post originated from an RSS feed registered with Python Buzz
by Ng Pheng Siong.
Original Post: M2Crypto API Docu Daily Build
Feed Title: (render-blog Ng Pheng Siong)
Feed URL: http://sandbox.rulemaker.net/ngps/rdf10_xml
Feed Description: Just another this here thing blog.
I've been meaning to write a program to generate M2Crypto API docu
from source daily; I just don't have the impetus to improve the
docu if I can't get the gratification of near-instant publication of
same.
So, finally I whipped up a Common Lisp program to do so. A
straightforward script which "main" routine looks like this:
Tested okay on my desktop. Copied the script into the appropriate jail
on the server. Building requires Python 2.3 and SWIG: ok, copied the
relevant directories over. Epydoc requires its installation (already
copied with Python) and a script in /usr/local/bin - easy, too. The
binary svn gave a bit of a surprise, though:
I'm not about to install all that gob into the jail. Ok, let's build a
static binary then:
$ (configure --enable-all-static; make clean; make)
Better:
# ldd svn
ldd: svn: not a dynamic executable
# strip svn
# ls -l svn
-rwxr-xr-x 1 root wheel 2923484 Sep 26 14:53 svn
Copied the binary over, tested the script in various settings -- yup, it worked! Fixed up crontab, set entry to run a minute in the future, twiddled thumbs, checked outcome, doh! missed out setting PATH, fixed, again... yes!
Generated by Epydoc 2.1 on Sun Sep 26 16:52:45 2004