On Mon, Jul 25, 2016 at 05:23:18PM +0100, Andrew Cooper wrote:
> The GNU coding standards expect $(DESTDIR) to be the root of everything
> installed, and for $(PREFIX) to then be added to the path.  This is not how
> XTF previously behaved.
> 
> XTF is not a typical package, and doesn't meet the usual semantics; it expects
> to arrange all files in a single directory.  Drop the use of $(PREFIX)
> entirely (to avoid the expectation that it behaves as $(prefix) usually
> behaves) and introduce $(xtfdir) instead.
> 
> $(DESTDIR) now works as intended for staged installes, and $(xtfdir) is the
> single selected directy containing all installed content, typically expected
> to be /opt/xtf or similar.
> 
> The intended way to install XTF now:
> 
>   $ make install DESTDIR=/path/to/staging/area xtfdir=/opt/xtf
> 
> Reported-by: Wei Liu <wei.l...@citrix.com>
> Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com>

This code does what the commit message says:

Reviewed-by: Wei Liu <wei.l...@citrix.com>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to