octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Documentation for Manual for Dynamically Linked Functions


From: David Bateman
Subject: Re: Documentation for Manual for Dynamically Linked Functions
Date: Wed, 25 Apr 2007 23:14:46 +0200
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

John W. Eaton wrote:
> On 25-Apr-2007, David Bateman wrote:
> 
> | John W. Eaton wrote:
> | > On 25-Apr-2007, David Bateman wrote:
> | > 
> | > | If we do we need to be careful to replace all of the TABs with 8
> | > | whitespaces, as the formating in the @example environment doesn't handle
> | > | the TABs correctly..
> | > 
> | > OK, I did this and modified dynamic.txi to use @verbatiminclude, but
> | > using a macro like this:
> | > 
> | >   @macro examplefile{file}
> | >   @example
> | >   @group
> | >   @verbatiminclude @value{top_srcdir}/examples/\file\
> | >   @end group
> | >   @end example
> | >   @end macro
> | > 
> | > so the example files can be included with just
> | > 
> | >   @examplefile{filename}
> | > 
> | > The conf.texi file also now has a definition for top_srcdir to make
> | > this work.
> | 
> | Can we have the attached patch as well so that top_srcdir is the
> | absolute directory so that out of tree builds work correctly.
> 
> Probably, but first can we have the patch attached?
> 
> jwe
> 
> 

Opps, sorry.

D.
*** ./doc/conf.texi.in.orig17   2007-04-25 22:28:45.697477558 +0200
--- ./doc/conf.texi.in  2007-04-25 22:26:13.972316331 +0200
***************
*** 3,9 ****
  @c For copying conditions, see the file gpl.texi.
  
  @set OCTAVE_MANUAL
! @set top_srcdir %top_srcdir%
  @set OCTAVEHOME %OCTAVE_HOME%
  @set VERSION %OCTAVE_VERSION%
  %TEXINFO_COLAMD%
--- 3,9 ----
  @c For copying conditions, see the file gpl.texi.
  
  @set OCTAVE_MANUAL
! @set top_srcdir %abs_top_srcdir%
  @set OCTAVEHOME %OCTAVE_HOME%
  @set VERSION %OCTAVE_VERSION%
  %TEXINFO_COLAMD%
*** ./doc/Makefile.in.orig17    2007-04-25 22:28:54.146041069 +0200
--- ./doc/Makefile.in   2007-04-25 22:24:37.230314438 +0200
***************
*** 10,15 ****
--- 10,16 ----
  
  srcdir = @srcdir@
  top_srcdir = @top_srcdir@
+ abs_top_srcdir = @abs_top_srcdir@
  VPATH = @srcdir@
  
  include $(TOPDIR)/Makeconf
*** ./Makeconf.in.orig17        2007-04-25 22:28:31.713200046 +0200
--- ./Makeconf.in       2007-04-25 22:28:03.264669819 +0200
***************
*** 574,579 ****
--- 574,580 ----
  define do-subst-texinfo-vals
  echo "making $@ from $<"
  $(SED) < $< \
+   -e "s|%abs_top_srcdir%|${abs_top_srcdir}|" \
    -e "s|%top_srcdir%|${top_srcdir}|" \
    -e "s|%OCTAVE_HOME%|${prefix}|" \
    -e "s|%OCTAVE_VERSION%|${version}|" \

reply via email to

[Prev in Thread] Current Thread [Next in Thread]