[libvirt] [PATCH] build: avoid corrupting / in RHEL 5

Eric Blake eblake at redhat.com
Wed Jun 1 21:29:11 UTC 2011


On 06/01/2011 02:30 PM, Jiri Denemark wrote:
> On Wed, Jun 01, 2011 at 11:52:00 -0600, Eric Blake wrote:
>> I noticed this while building from libvirt.git on RHEL 5.6:
>>
>> Generating internals/command.html.tmp
>> mkdir: cannot create directory `/internals': Permission denied
>>
>> If I had been building as root instead, this pollutes /.
>>
>> Older autoconf lacks $(builddir), but it is rigorously equal to '.'
>> in newer autoconf, so we could use '$(MKDIR_P) internals' instead.
>>
>> However, since internals/command.html is part of the tarball, we
>> _already_ build it in $(srcdir), not $(builddir) during VPATH
>> builds, so the mkdir is wasted effort!
>>
>> * docs/Makefile.am (internals/%.html.tmp): Drop unused mkdir.
>> ---
>>  docs/Makefile.am |    1 -
>>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> ACK

Thanks; pushed.

-- 
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/20110601/c472de94/attachment-0001.sig>


More information about the libvir-list mailing list