lirc installs some documents to $(localstatedir)/lib/lirc/{images,plugins} - see https://sourceforge.net/p/lirc/git/ci/64ad61a66fb736710f190115439a621b87daa32d/tree/doc/Makefile.am lines 61-65:
vardocsdir = $(localstatedir)/lib/lirc/plugins vardocs_DATA = index.html html-source/lirc.css varimagedir = $(localstatedir)/lib/lirc/images varimage_DATA = $(dist_image_DATA)
That seems strange and wrong... I assume $(docdir) was intended instead of $(localstatedir) ?
Issue initially reported at https://bugs.gentoo.org/show_bug.cgi?id=589246
https://sourceforge.net/p/lirc/git/merge-requests/24/
No, this is not a bug, it's on purpose. The vardocsdir stuff is support for installing 3-rd party driver documentation -we are moving to a model where hardware vendors maintain drivers separately from the lirc project.