]> xenbits.xensource.com Git - libvirt.git/commit
build: avoid corrupting / in RHEL 5
authorEric Blake <eblake@redhat.com>
Wed, 1 Jun 2011 17:42:43 +0000 (11:42 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 1 Jun 2011 21:26:13 +0000 (15:26 -0600)
commitc3c30d4de9d474d708e54268f306e18f5a749a45
treef2325a13bb7183fc41dd8866f9cfee306eb53e2a
parentf5534a135e7530f48f45c932b009094c29489b1d
build: avoid corrupting / in RHEL 5

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