[libvirt] [PATCH] Make html docs in non-srcdir build

Eric Blake eblake at redhat.com
Fri Jul 2 21:22:46 UTC 2010


On 07/02/2010 03:16 PM, Jiri Denemark wrote:
> ---
>  docs/Makefile.am |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/docs/Makefile.am b/docs/Makefile.am
> index c01e085..1183321 100644
> --- a/docs/Makefile.am
> +++ b/docs/Makefile.am
> @@ -53,7 +53,7 @@ gif = \
>    architecture.gif \
>    node.gif
>  
> -dot_html_in = $(wildcard *.html.in)
> +dot_html_in = $(notdir $(wildcard $(srcdir)/*.html.in))

ACK - this is slightly more elegant than my attempts at fixing the same
line in my recent VPATH build patches (that still aren't perfect, but
not for this reason).  So, even though it doesn't fix everything that my
VPATH patches were trying to tackle, it is a step in the right
direction, and is easy to verify.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100702/dfd31a19/attachment-0001.sig>


More information about the libvir-list mailing list