automake
[Top][All Lists]
Advanced

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

Re: Docbook pdf generation - copying png images to build directory?


From: Ralf Wildenhues
Subject: Re: Docbook pdf generation - copying png images to build directory?
Date: Sat, 14 Nov 2009 11:59:13 +0100
User-agent: Mutt/1.5.20 (2009-08-09)

* Daniel Leidert wrote on Fri, Nov 13, 2009 at 10:19:43PM CET:
> Clifford Yapp wrote:
> > I have a situation where I need to copy png images from a source
> > directory to the build directory prior to running other build rules,
> > and I am having some trouble formulating a rule to do the job.
> > Background:
> 
> Does fop do the whole job? It's possible to use xsltproc to prepare
> the .fo file, which should then be easily processible by fop I guess.
> xsltproc knows a --path switch. I usually use:
> 
> VPATH =+ $(srcdir)

BTW, Automake sets VPATH to contain $(srcdir) if source and build tree
are separate, so this line should not be needed (=+ is also a typo),
if you ...

> rule:
>     xsltproc --path "$(VPATH)" ...

... just write --path "$(srcdir)" here instead.  That way, you don't
pass "" if source and build trees coincide.

Cheers,
Ralf




reply via email to

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