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

Re: [Xen-devel] [PATCH 44/46] Include Paths.mk in toplevel Makefile to fix uninstall

On Mon, 2014-09-22 at 15:00 +0200, Olaf Hering wrote:
> make uninstall references various variable paths.

> If they are not set it may wipe /*.


I think the uninstall run may need some sort of sanity check to ensure
you have run configure then.

tools/Rules.mk has:

        ifeq (,$(findstring clean,$(MAKECMDGOALS)))
                $(error You have to run ./configure before building or 
installing the tools)

which could perhaps be adapted. Alternatively splitting uninstall into
uninstall-$subsystem and having the non-Xen subsystems start with a
check that PREFIX (or some suitable variable) is non-empty?


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.