From: Rafael L. <lab...@ps...> - 2003-03-14 13:37:59
|
[ Moving this discussion to plplot-devel. Joao: please do not reply messages to plplot-cvs, since this mailing list is not for discussion. It is not even archived at SF. Thanks. ] * Joao Cardoso <jc...@fe...> [2003-03-13 23:27]: > 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. Yes. > > 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? Yes. > > (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. Okay, I will change that. -- Rafael |