From: Joao C. <jc...@fe...> - 2003-03-13 23:30:53
|
On Thursday 13 March 2003 19:54, Rafael Laboissiere wrote: > Update of /cvsroot/plplot/plplot/bindings/octave > In directory sc8-pr-cvs1:/tmp/cvs-serv24857/bindings/octave > > Modified Files: > Makefile.am > Log Message: > > Implemented the check of programs and Perl modules necessary to build the > files in bindings/octave/plplot_octave_txt/. The extension of the present > change is quite large, because the previous situations was quite > constraining. Indeed, the checks for Perl modules were buried in > bindings/octave/configure.ac, which was included in configure.ac > conditionally on enable_docbook. > > To make the idea work, I had to split bindings/octave/configure.ac you mean doc/docbook/configure.ac, right? This can be misleading. > into two > parts: the first one consisted of macro definitons, configure options > declarations and things alike, that can (and sometimes must) run > inconditionally. This material has been moved into a new file called > bindings/octave/docbook.m4 the same? > (BTW, having two configure.ac in the source tree > was an aberration). > > The second part consisted of the actual checks (for programs, DTDs, and > Perl modules), which should be run conditioanlly. This material has been > inserted into configure.ac. > > The specific tests for the Octave bindings regard the program Perl, and the > Perl modules XML::DOM and XML::Parser, which are used by api2text.pl to > build the text documentation files. If the tests go okay, api2text.pl is > called in bindings/octave/Makefile.am, if needed. Otherwise, thanks to the > new AM_CONDITIONAL has_xml_pm, if recompilation of the *.txt files is > needed, then the make and shows the error message: There is no need to stop the make. The only consequence is that plplot_octave will not have the original PLplot API help text; instead, a one line description is searched in plplot.doc, and if even one is not found a "no help available" message is used. > > Perl modules not available: cannot generate plplot_octave_txt/*.txt > > This has been tested in trivial cases, but must still be made bullet-proof. > > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > Plplot-cvs mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-cvs |