On Fri, Nov 25, 2022 at 10:28:52AM +0100, Jan Beulich wrote: > On 24.11.2022 17:42, Anthony PERARD wrote: > > Use actual include directory used to install the public header in > > COPYING file. > > > > Also, move the input file out of "tools/include/xen/" because that > > directory is removed on `make clean`. > > > > We can't used ./configure because $includedir contain another > > variable, so the change is done in Makefile. > > > > Fixes: 4ea75e9a9058 ("Rework COPYING installed in /usr/include/xen/, due to > > several licences") > > Signed-off-by: Anthony PERARD <anthony.per...@citrix.com> > > Reviewed-by: Jan Beulich <jbeul...@suse.com> > (with a question, perhaps just for my own education, at the end)
> > + sed -e 's#@includedir@#$(includedir)/xen#g' xen.COPYING.in > xen/COPYING > > Any particular reason for using -e here? No, I just often use it, even when unnecessary. Thanks, -- Anthony PERARD