[xmlroff] Nearly ready for xmlroff 0.5.1

Tony Graham Tony.Graham at MenteithConsulting.com
Mon Jul 9 15:36:02 UTC 2007


On Mon, Jul 09 2007 16:03:42 +0100, asmodai at in-nomine.org wrote:
> -On [20070709 16:48], Tony Graham (Tony.Graham at MenteithConsulting.com) wrote:
...
>>Could it be the '$<' in:
>
> Documented on FreeBSD as:
>
>   .IMPSRC   The name/path of the source from which the target is to
>             be transformed (the ``implied'' source); also known as
>             `<'.
>
>>xmlroff.fo:	xmlroff.xml ../libfo-compat.xsl
>>	xsltproc http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl $< > xmlroff.tmp
>>	xsltproc ../libfo-compat.xsl xmlroff.tmp > xmlroff.fo
>>	rm -f xmlroff.tmp
>
> I wonder if $< is even correct here, since the implied sources are both
> xmlroff.xml and ../libfo-compat.xsl. Need to recheck my make-fu though.

>From 'make.info':

`$<'
     The name of the first prerequisite.  If the target got its
     commands from an implicit rule, this will be the first
     prerequisite added by the implicit rule (*note Implicit Rules::).

So in gmake, '$<' is one source.

> If so, just putting xmlroff.xml there ought to be enough.

Can you try it on your copy (even though we both expect it to work)?

Regards,


Tony.


More information about the xmlroff-list mailing list