Closed kraileth closed 4 years ago
nope. Either that example file has to be moved to the examples directory or that requires a docs subpackage or it should just be removed from packaging if it's not worth anything.
I don't see a reason to relax the strict checking here. That checking was put in place to catch a bad actor like ocl-icd. let's fix the port.
Guess that I have to get rid of the "upstream is right" attitude... We're already bending a lot of packages to meet our standards after all. Ok, I'll take care of the offender.
a more common problem is when the port installs in a directory that is not "share/doc/$NAMEBASE" . In that case we have to relocate manually in post-install.
Just relocated the file of that port. Closing.
Testing the ocl-icd port currently fails after doc-related errors switched from warning to error. This program provides an example file where the path contains "doc" (i.e.
share/doc/ocl-icd/examples/ocl_icd_bindings.c
).Might make sense to treat "example" sub-packages specially as well and allow docy stuff in it.