<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> Where would license files go on a make install?<br>
<br>
</span>"$CLANG_INSTALL_DIR/share/<wbr>llvm/licenses"? Eventually make the path it an option?<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div><div>At least in linux land, most distros have places they expect licenses to go, and it's often part of the packaging format itself.</div><div>For example, debian expects copyright notices to be part of packaging, not installed by the package.<br></div><div>(IE what the patch originally does).</div><div><br></div><div>In particular, it expects it to be a machine parseable format in debian/copyright in the .deb package file.</div><div><br></div><div>This is in turn, parsed and a formatted version put in the right place in the distro.</div><div>They do *not* want packages installing them themselves, AFAIK.</div><div><br></div><div>While i understand why you think this logic should be common, IMHO, it shouldn't be.</div><div><br></div><div>Every single packaging/etc system has a different format, set of rules, etc for what should be happening here.</div><div>There is no real common logic you can extract from this.</div><div><br></div><div>You are going to write logic for rpms, debian, docker, etc anyway right now, to put the bits in the formats and places the distros want them.</div><div><br></div><div>I wish it wasn't the case, of course.</div><div><br></div><div><br></div><div><br></div></div></div></div>