[xmlroff] Nearly ready for xmlroff 0.5.1

Jeroen Ruigrok van der Werven asmodai at in-nomine.org
Mon Jul 9 15:03:42 UTC 2007


-On [20070709 16:48], Tony Graham (Tony.Graham at MenteithConsulting.com) wrote:
>What about after 'make distclean'?  (Which would require ./configure
>again, so would probably fail again.)

See below.

>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.

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

>I'd expect it to work with gmake since that's what I use and I haven't
>had any problems.

Well, normally when gmake is required it tends to die spectacularly on the
first or second compile line after issuing make. ;)

>The way that it fails for you only on the first run is puzzling.

Actually it is not, I see. It created an empty xmlroff.fo, thus satisfying
make's 'does it exist' policy.

-- 
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
One moon shows in every pool; in every pool, the one moon...


More information about the xmlroff-list mailing list